[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Compiling problems with XaAES
I am no compiler expert, but it looks like the
native 2.95.3 version we have dont have the __CLOBBER_RETURN macro
defined whereas m68k cross gcc compiles this without problems.
The macro __CLOBBER_RETURN was introduced for compatibility with GCC 3.3
It is defined in the file <compiler.h>. (see mintlib/include/compiler.h)
In the meantime I will fix this by #if __GNUC__ > 2 checks so it
compiles for now.
Hmm... as you see there is a "version check" in its definition.
#if ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ == 4)
# define __CLOBBER_RETURN(a)
#else
# define __CLOBBER_RETURN(a) a,
#endif
Philipp