https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81345
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >LangEnabledBy(C ObjC C++ ObjC++, Wall) Just says -Wall sets that variable to 1. You might need to expand the awk script to allow for an optional constant for the value you want.