This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]