I use -Wall
and updating to new gcc I have got a lot of warning: narrowing conversion
. I want to disable them, but leave all other warnings untouched (ideally).
I can find nothing about narrowing
in http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
How to disable narrowing conversion warnings? Is it possible at all?
P.S.
I need to Disable warnings, not fix them in the source code.
Blind
-Wno-conversion
doesn't help.
warning: narrowing conversion
”: Ok, for what code? Is that the exact complete warning message? “I can find nothing aboutnarrowing
in gcc.gnu.org/onlinedocs/gcc/Warning-Options.html”: Well I can find an instance of “-Wnarrowing
”. Did you try-Wno-narrowing
? – Katleenno-
at the obvious place. I think it is-Wno-narrowing
. – Huffish