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 07 Feb 2007 07:23:17 -0600, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
"Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:

| Things that the guidelines will clarify is whether there is any
| difference between: "-Wfoo -Wno-foo" and "-Wno-foo -Wfoo".

Yes. I thought that was in the doc.  The former suppresses foo, the
latter enables it.

So, "-pedantic -Wno-vla" disables the warning, while "-Wno-vla -pedantic" should enable the warning, or am I missing something?

Cheers,

Manuel.


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