This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH 15/15] Enable -Wmissing-declarations diagnostic


>>>>> "Simon" == Simon Marchi <simon.marchi@efficios.com> writes:

Simon> Now that most warnings of this kind are fixed, we can enable
Simon> -Wmissing-declarations.  I say "most", because it is likely that there
Simon> are some more in some configurations I am not able to build, but they
Simon> should be pretty easy to fix.

Simon> gdb/ChangeLog:

Simon> 	* warning.m4: Add -Wmissing-declarations to build_warnings.
Simon> 	* configure: Re-generate.

gdbserver uses warning.m4, so you have to also rebuild configure there
and fix up any issues -- otherwise, the next person to rebuild
gdbserver/configure will be surprised.

Tom


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