cc1: warning: unrecognized command line option "-Wno-narrowing"
Paolo Carlini
pcarlini@gmail.com
Tue Nov 8 22:51:00 GMT 2011
Hi,
> On 11/08/2011 03:22 PM, Paolo Carlini wrote:
>> I believe that the core issue is pretty clear: -Wno-narrowing disables a C++ only warning but somehow we are passing it also in a few C compiler invocations, thus the driver warns.
>
> No, it's accepted by the C front end too, it just has no effect.
I see. Actually I'm clear about the no effect thing and also that the warning isn't really worrisome. But I thought that the front end in general warns for such no effects warnings. I didn't really study the relevant code, to be honest.
Paolo
More information about the Gcc
mailing list