Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: probs building -current on amiga
mlatin%owens.ridgecrest.ca.us@localhost wrote:
>
> I've been attempting to build -current on my A4000/040.. i've run across
> a problem when make attempts to build the 'param.c' file.
>
[ .... ]
> anyways, here's the errors (or rather, warnings) i'm getting:
>
>
> cc -Werror -Wall -Wstrict-prototypes -m68040 -m68020 -msoft-float -I. \
> -I../../../../arch -I../../../.. -nostdinc -DSWAPPAGER -DVNODEPAGER \
> -DDEVPAGER -DEXEC_AOUT -DEXEC_SCRIPT -DTIMEZONE="0x1f4" -DDST="0" \
> -DM68040 -DFPSP -DFPCOPROC -DINET -DPPP_BSDCOMP -DPPP_DEFLATE \
> -DFFS -DQUOTA -DMFS -DNFSSERVER -DNFSCLIENT -DADOSFS -DCD9660 -DMSDOSFS \
> -DFDESC -DFIFO -DKERNFS -DNULLFS -DPROCFS -DUMAPFS -DUNION -DCOMPAT_12 \
> -DCOMPAT_10 -DCOMPAT_09 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_NOMID \
> -DSYSVSHM -DSYSVMSG -DSYSVSEM -DUCONSOLE -DGENERIC -DLKM \
> -DNKMEMCLUSTERS=256 -DDDB -DDIAGNOSTIC -DKTRACE -DMACHINE_NONCONTIG \
> -DCL5426CONSOLE -DMAXUSERS=20 -D_KERNEL -Dmc68020 -Damiga -c param.c
> cc1: warnings being treated as errors
> ../../../../lib/libkern/libkern.h:59: warning: `imax' defined but not used
> ../../../../lib/libkern/libkern.h:65: warning: `imin' defined but not used
> ../../../../lib/libkern/libkern.h:83: warning: `max' defined but not used
[ more of these deleted ]
I got a complaint from an atari-user about this too. The problem seems
to be the absence of '-O2' compiler option. It was some time ago, but
I think it was because gcc does not turn those functions into 'in-lines'
when not optimizing. This combined with the '-Wall' option results in this
rather annoying (an wrong) behaviour.
Leo.
Home |
Main Index |
Thread Index |
Old Index