help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-Wall -Wswitch-default


From: Jeff Schwab
Subject: -Wall -Wswitch-default
Date: Fri, 7 Mar 2008 12:25:19 -0800 (PST)
User-agent: G2/1.0

The g++ man page says -Wall is equivalent to "All of the above -W
options combined."  The -Wswitch-default option, however, does not
seem to be enabled by -Wall.  Has anybody else seen this, or do you
see anything I'm missing?

Here's a previous discussion I found on the net about this topic:
http://archive.netbsd.se/?ml=gcc&a=2007-03&t=3411291

If nobody has a better idea, I'll submit the bug report.  I think I
see the problem in gcc/c-opts.c, so I'll try to include a patch.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]