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

Re: [MiNT] freemint cvs broken?



On Sun, 2011-01-02 at 22:17 +0100, Bernd Mueller wrote:
> Hi all,
> 
> i've just checked out freemint from cvs and i went into some trouble
> while compiling. I get this error:
> 
> <=== Cut here ===>
> 
> Making all in nfs
> make[3]: Entering directory `/home/ragnar/cvs/freemint/sys/xfs/nfs'
> m68k-atari-mint-gcc -I../.. -D__KERNEL_XFS__ -m68000 -Werror -mshort -g
> -O2 -fomit-frame-pointer -Wall -Wmissing-prototypes -Wshadow
> -Wpointer-arith -Wcast-qual -Waggregate-return -c nfs_xdr.c -o nfs_xdr.o
> cc1: warnings being treated as errors
> nfs_xdr.c: In function 'xdr_readlinkres':
> nfs_xdr.c:287:3: error: new qualifiers in middle of multi-level
> non-const cast are unsafe
> nfs_xdr.c: In function 'xdr_readres':
> nfs_xdr.c:317:3: error: new qualifiers in middle of multi-level
> non-const cast are unsafe
> nfs_xdr.c: In function 'xdr_entry':
> nfs_xdr.c:462:2: error: new qualifiers in middle of multi-level
> non-const cast are unsafe
> make[3]: *** [nfs_xdr.o] Error 1
> make[3]: Leaving directory `/home/ragnar/cvs/freemint/sys/xfs/nfs'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/ragnar/cvs/freemint/sys/xfs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ragnar/cvs/freemint/sys'
> make: *** [all-recursive] Error 1
> 
> <=== Cut here ===>
> 
> I'm using Vincents crosscompiler on Debian Squeeze.

I've removed some of the additional warnings that was causing the
failures with gcc 4.5.x for now.

We'll revisit them as we progress with FreeMiNT 1.18.0.

Alan.