I want to suppress specific warnings from g++. I'm aware of the -Wno-XXX
flag, but I'm looking for something more specific. I want some of the warnings in -Weffc++
, but not all of them. Something like what you can do with lint - disable specific messages.
Is there a built in way in gcc to do this? Do I have to write a wrapper script?
See Question&Answers more detail:os