This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


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

Re: unused parameter warnings


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

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