unused parameter warnings

Andrew Cagney ac131313@cygnus.com
Tue Mar 28 13:59:00 GMT 2000


Jim Blandy wrote:
> 

Jim,  just FYI,

GDB currently set -Wunused for the reason you've explained (it is also
why I've been picking at a -Wno-unused-param flag).  gdb/configure.in
doesn't enable it.  The reason you're seeing those warnings is because
the top level src/Makefile.in sets:
	CFLAGS="-g -Wall -O2"
overriding any local default.

Having the top level Makefile.in ``impose'' a specific -W policy is
something to discuss with the other projects.

	enjoy
		Andrew


More information about the Gdb mailing list