[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -Wall -Wswitch-default
From: |
Jeff Schwab |
Subject: |
Re: -Wall -Wswitch-default |
Date: |
Fri, 7 Mar 2008 15:26:24 -0800 (PST) |
User-agent: |
G2/1.0 |
On Mar 7, 12:25 pm, Jeff Schwab <j...@schwabcenter.com> wrote:
> 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.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35502