fix checks for gcc disable warning flags
fix checks for gcc disable warning flags

GCC does not print a warning or error for unknown options if the options
are to disable warnings. Therefore, when checking for options starting
'-Wno-', also check the opposite enabling option.  This fixes the case
where e.g.  -Wno-implicit-fallthrough is incorrectly reported as supported
by gcc 5.4. To avoid missed warnings when using combinations of flags, such
as in test case "112 has arg", we limit the checking of for the positive
option to where the negative option is checked alone.

jeandet/meson,QuLogic/meson,mesonbuild/meson,pexip/meson,MathieuDuponchelle/meson,jeandet/meson,becm/meson,MathieuDuponchelle/meson,thiblahute/meson,jpakkane/meson,jeandet/meson,jeandet/meson,mesonbuild/meson,mesonbuild/meson,becm/meson,jeandet/meson,MathieuDuponchelle/meson,MathieuDuponchelle/meson,mesonbuild/meson,thiblahute/meson,pexip/meson,QuLogic/meson,pexip/meson,mesonbuild/meson,becm/meson,thiblahute/meson,QuLogic/meson,mesonbuild/meson,MathieuDuponchelle/meson,MathieuDuponchelle/meson,jpakkane/meson,becm/meson,QuLogic/meson,becm/meson,becm/meson,mesonbuild/meson,thiblahute/meson,becm/meson,pexip/meson,mesonbuild/meson,MathieuDuponchelle/meson,QuLogic/meson,jpakkane/meson,thiblahute/meson,jpakkane/meson,QuLogic/meson,pexip/meson,thiblahute/meson,jpakkane/meson,QuLogic/meson,jeandet/meson,MathieuDuponchelle/meson,becm/meson,mesonbuild/meson,jpakkane/meson,MathieuDuponchelle/meson,pexip/meson,jeandet/meson,thiblahute/meson,pexip/meson,thiblahute/meson,jpakkane/meson,mesonbuild/meson,pexip/meson,pexip/meson,QuLogic/meson,jpakkane/meson,thiblahute/meson,jeandet/meson,pexip/meson,jpakkane/meson,jeandet/meson,becm/meson,becm/meson,QuLogic/meson