[pushed] Remove C-specific warnings from common warning set

Pedro Alves palves@redhat.com
Sun Mar 8 22:58:00 GMT 2015


On 03/07/2015 08:33 PM, Patrick Palka wrote:
> On Sat, Mar 7, 2015 at 1:22 PM, Pedro Alves <palves@redhat.com> wrote:
>> Whoops, these are C specific, but I somehow missed the warnings before:
>>
>>   cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
> 
> Maybe this one should be replaced with -Wmissing-declarations?
> 

Good idea.  Would you like to give it a try?

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list