This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Macro cpu_to_je16 in jffs2.h compile error
----- 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.