Question on -Werror usage in Makefiles...
Andreas Jaeger
aj@suse.de
Sun Oct 26 17:10:00 GMT 2003
Compiling current CVS I noticed these two warnings:
./xgcc -B./ -B/opt/gcc/3.4-devel/i686-suse-linux-gnu/bin/ -isystem /opt/gcc/3.4-devel/i686-suse-linux-gnu/include -isystem /opt/gcc/3.4-devel/i686-suse-linux-gnu/sys-include -L/builds/gcc/misc/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/. -I/cvs/gcc/gcc/../include -fexceptions -c /cvs/gcc/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
/cvs/gcc/gcc/unwind-dw2.c: In function `_Unwind_GetGR':
/cvs/gcc/gcc/unwind-dw2.c:189: warning: comparison between signed and unsigned
/cvs/gcc/gcc/unwind-dw2.c: In function `_Unwind_SetGR':
/cvs/gcc/gcc/unwind-dw2.c:227: warning: comparison between signed and unsigned
Looking at the commandline, I wonder why we do not pass -Werror to
this?
I'll send a patch for the actual warning later but would welcome if
somebody fixes the Makefiles to actually use -Werror here. Or is this
on purpose?
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20031026/24359867/attachment.sig>
More information about the Gcc
mailing list