On Wed, 10 Aug 2016, Paolo Bonzini wrote: > - stuff that is not enabled by anything should use OPT_Wpedantic, and
No, lots of pedwarns are for usages that are (a) dubious enough we want to diagnose them by default, and (b) required to be diagnosed by ISO C so must become errors with -pedantic-errors. (You could argue about whether we should have -fpermissive for C like for C++ and make some of those into errors by default.) -- Joseph S. Myers jos...@codesourcery.com