This is the mail archive of the gcc@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: missed enums in switch warning


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


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