This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 3.4] Warn for always-false bitwise ands
On Fri, Mar 21, 2003 at 06:34:43AM +0000, Neil Booth wrote:
> > * toplev.c (documented_lang_options): Add
> > -Wboolean-bitwise-and, -Wnoboolean-bitwise-and.
>
> It looks like your switch is for the C front ends, so it
> has no business in toplev.c.
I'm supposed to somehow know that :
/* Table of language-specific options. */
and
documented_lang_options
actually means something else ? What does it mean ? And why is this
table composed of stuff for the C frontends ? What's the difference
between mine and ones like -ansi, -Wformat-missing-attribute,
-Wno-comment, et al ? Where should they go ?
Please explain further.
regards,
john