[ECOS] Macro cpu_to_je16 in jffs2.h compile error

Frank Lin franklin373@gmail.com
Fri May 30 08:29:00 GMT 2008


----- 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.


More information about the Ecos-discuss mailing list