[ECOS] Macro cpu_to_je16 in jffs2.h compile error

Andrew Lunn andrew@lunn.ch
Fri May 30 06:38:00 GMT 2008


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?

fs-ecos.c contains:

#if (__GNUC__ == 3) && (__GNUC_MINOR__ == 2) && \
    (defined (__arm__) || defined (_mips))
#error This compiler is known to be broken. Please see:
#error "http://ecos.sourceware.org/ml/ecos-patches/2003-08/msg00006.html"
#endif


        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



More information about the Ecos-discuss mailing list