[dpdk-dev] [PATCH] mk: disable flag for no packet member warning

Bruce Richardson bruce.richardson at intel.com
Mon Jul 22 15:44:17 CEST 2019


On Mon, Jul 22, 2019 at 02:39:59PM +0200, kkanas at marvell.com wrote:
> From: Krzysztof Kanas <kkanas at 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


More information about the dev mailing list