On Sun, Dec 11, 2011 at 6:03 PM, Steven Bosscher <stevenb....@gmail.com> wrote: > Hello, > > The configure scripts check for -Wno-narrowing, but GCC ignores rather > than rejects unknown -Wno-* warnings. > > Fixed by checking for the positive warning, -Wnarrowing. > > OK for trunk?
But that will now pass -Wnarrowing instead of -Wno-narrowing to the build. So I think the fix should be done to ACX_PROG_CC_WARNING_OPTS which should strip 'no-' from the option before checking it (well, possibly testing both the -W and the -Wno- variant) and append the -Wno- variant. Richard. > Ciao! > Steven