This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Add a new option -Wvariable-length-array
On Tue, 6 Feb 2007, Seongbae Park wrote:
> Thanks to Joseph's comment, now the logic is different -
> -pedantic overrides -Wno-variable-length-array,
> and they have different messages so they are not identical.
My comment was about -pedantic-errors -Wvariable-length-array, not about
the -Wno-variable-length-array case.
I agree that -Wno-variable-length-array should disable the diagnostic from
-pedantic/-pedantic-errors.
--
Joseph S. Myers
joseph@codesourcery.com