cc1: warning: unrecognized command line option "-Wno-narrowing"
Paolo Carlini
pcarlini@gmail.com
Tue Nov 8 22:13:00 GMT 2011
Hi,
> I saw it on a native build, possibly netbsd, but I ignored it as I was
> in the middle of something. Will keep an eye out for it again.
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. We could suppress such warnings too ;) or special case those files?
Paolo
More information about the Gcc
mailing list