This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Feature request: -Wno-unknown-warnings to silently ignore unknown warning control flags.


On Thu, Oct 12, 2017 at 1:14 PM, Jonathan Wakely> * Additional `-W...`
flags are introduced in new gcc/g++ versions, which

> > check for new potential code smells, possibly related to later language
> > standards. That's great (thanks!).
>
> And the most widely useful ones are added to -Wall so you don't need
> to know about them and add them explicitly.
>

"Most" != "All".

IMVHO it is too strong to say "you don't need to know about [other ones]".
You might say you don't _typically_ need to know about them. Quite possibly
so; but the feature request is for the use case of people who, like me,
find some of the non-Wall non-Wextra warnings to be useful. These
additional flags exist for a reason...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]