On Mon, Jul 22, 2019 at 02:39:59PM +0200, kka...@marvell.com wrote:
> From: Krzysztof Kanas <kka...@marvell.com>
> 
> gcc prior 9 don't will add additional warning for unrecognized command
> line option, but only when there is some other warning in the code, e.g
> unused variable.
> 
I don't think this behaviour has changed in gcc 9. I just did a test
compile with gcc 9.1, and no warning was printed for flag
"-Wno-random-warnings". The online docs also make no mention of this
behaviour being conditional on GCC version [1].

/Bruce

[1] https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

Reply via email to