invalid preprocessing directive #warn

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Dec 7 15:22:00 GMT 2000


The following error occurs with todays source under i686 linux with gcc-2.97:

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../bfd -I. -D_GNU_SOURCE   -DTRAD_CORE   -I. -I../../bfd -I../../bfd/../include  -I../../bfd/../intl -I../intl   -W -Wall -O3 -c ../../bfd/coff-tic54x.c
gcc -DHAVE_CONFIG_H -I. -I../../bfd -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I../../bfd -I../../bfd/../include -I../../bfd/../intl -I../intl -W -Wall -O3 -c ../../bfd/coff-tic54x.c  -fPIC -DPIC -o .libs/coff-tic54x.o
In file included from ../../include/coff/tic54x.h:13,
                 from ../../bfd/coff-tic54x.c:25:
../../include/coff/ti.h:48:2: invalid preprocessing directive #warn
In file included from ../../bfd/coff-tic54x.c:344:
../../bfd/coffcode.h:1432: warning: comparison of unsigned expression < 0 is always false
make[3]: *** [coff-tic54x.lo] Error 1
make[3]: Leaving directory `/home/dave/gnu/binutils-2.10.91/objdir/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dave/gnu/binutils-2.10.91/objdir/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/dave/gnu/binutils-2.10.91/objdir/bfd'
make: *** [all-bfd] Error 2

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


More information about the Binutils mailing list