Warning counts in gdb; Was: Re: [patch] multi-arch INIT_FRAME_PC*

Andrew Cagney ac131313@cygnus.com
Tue Jun 19 08:01:00 GMT 2001


> Warnings --
> 
> I tried turning on -Werror by hand and didn't like the results.
> I realized that I have some useful compilation logs:


Did you set WERROR_CFLAGS?


> Almost every platform has a couple of warnings though.


Yes.

This is why certain specific files are not compiled with -Werror (eiter 
plain hard to do right or really messy to cleanup) and why GDB is only 
using a small select but very effective set of options.  Check 
Makefile.in or ARI (no -Werror) for the list

	enjoy,
		Andrew




More information about the Gdb-patches mailing list