[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Compiling problems with XaAES



lør, 31,.12.2005 kl. 11.16 +0100, skrev Philipp Donzé:
> > 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

 Yes Philipp, you are right. Erich, you need to update to the latest
mintlib, and things should be fine. Let us know how it goes. I was sure
I had the latest mintlib installed on ct63, but nooo :)



 Best Regards,
Odd Skancke