This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Question on -Werror usage in Makefiles...


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]