This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: missed enums in switch warning
- From: Bill Currie <bill at taniwha dot org>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 29 Dec 2001 22:42:31 -0700
- Subject: Re: missed enums in switch warning
- References: <20011230042751.GA391@taniwha.org>
On Sat, Dec 29, 2001 at 09:27:51PM -0700, bill wrote:
> What happened to it in gcc 3? I was unable to find a warning option for it in
> gcc 3.0 but it was on by default (always?) in 2.95 and below. I relied heavily
> on this warning and would like it back :)
Thanks to yinliyin@zte.com.cn for pointing out -Wswitch. I missed it when
browsing the options list from gcc -v --help (should have used search in
less:P).
Bill
--
Leave others their otherness. -- Aratak