I am using GCC 4.9.2 on Linux.
I would like to enable display all warnings except a few. To enable all warnings, I have used -Wall -Wextra
with g++
.
But I would like not to have warnings for reorder i.e. I would like to set -Wreorder
off.
How could I do it?
Add
-Wno-reorder
after the other warning flags.