This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Macro cpu_to_je16 in jffs2.h compile error


On Fri, May 30, 2008 at 04:29:30PM +0800, Frank Lin wrote:
> 
> ----- Original Message ----- 
> From: "Andrew Lunn" <andrew@lunn.ch>
> To: "Frank Lin" <franklin373@gmail.com>
> Cc: <ecos-discuss@ecos.sourceware.org>
> Sent: Friday, May 30, 2008 2:38 PM
> Subject: Re: [ECOS] Macro cpu_to_je16 in jffs2.h compile error
> 
> 
> > On Fri, May 30, 2008 at 11:51:14AM +0800, Frank Lin wrote:
> >> 
> >> Macro #define cpu_to_je16(x) ((jint16_t){x}) compile to:
> > 
> > What version of gcc are you using?
> 
> $ arm-elf-gcc --version
> arm-elf-gcc (GCC) 3.2.1 (eCosCentric)
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

There are known problems with this version of the compiler and
jffs2. See the email thread in the comment.....

       Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]