[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Compiling problems with XaAES
lør, 31,.12.2005 kl. 07.50 +0100, skrev Erich Arning:
> Hi list and specialists,
>
> compiling xaaes I get this errors:
>
> ne -Wshadow -Wpointer-arith -Wcast-qual -c ../adiload.c -o adiload.o
> .../adiload.c: In function `module_init':
> .../adiload.c:63: parse error before `__CLOBBER_RETURN'
> .../adiload.c:50: warning: `ret' might be used uninitialized in this fu=
> nction
> make[2]: *** [adiload.o] Error 1
> make[2]: Leaving directory `/j/root/freemint/xaaes/src.km/.compile_030'
> make[1]: *** [_stmp_030] Error 2
> make[1]: Leaving directory `/j/root/freemint/xaaes/src.km'
> make: *** [030] Error 2
> root@hades:/root/freemint/xaaes/src.km>
>
> freemint was checked out complete a few minutes ago.
> What my be wrong?
> The compiler stops at a file Odd told me he have done no changes.
> So I ask the compiler specialists.
> Compiler was gcc 2.95.3 Release 5
I can confirm this now. I get the same error trying to compile the
stuff on the ct63 here. 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. I thought
these were similar and so told Erich that it compiles fine here when
infact the same problem happens here.
So, Frank, could you shed some light on this? In the meantime I will
fix this by #if __GNUC__ > 2 checks so it compiles for now.
Best Regards,
Odd Skancke