This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cc1: warning: unrecognized command line option "-Wno-narrowing"
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