[about labels w/o statements after them] >> Is this really a kernel bug? This is common idiom in C, so gcc >> shouldn't warn about it. If it does, it is a bug in gcc IMHO. > > No, it is not a common idiom in C. It has _never_ been valid C. > > GCC originally allowed it due to a mistake in the grammar; we > now warn for it. Fix your source. Since neither -ansi nor -std=foo was specified, gcc should just shut up and be happy. Consider this as another GNU extension. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- [PATCH] More compile warning fixes for 2.4.0 Rich Baum
- Re: [PATCH] More compile warning fixes for 2.4.0 Paul Gortmaker
- Re: [PATCH] More compile warning fixes for 2.4.0 Erik Mouw
- Re: [PATCH] More compile warning fixes for 2.4... Alan Cox
- Re: [PATCH] More compile warning fixes for 2.4... Rich Baum
- Re: [PATCH] More compile warning fixes for 2.4... Richard Henderson
- Re: [PATCH] More compile warning fixes for... Albert D. Cahalan
- Re: [PATCH] More compile warning fixes... Richard B. Johnson
- Re: [PATCH] More compile warning fixes... Linus Torvalds
- Re: [PATCH] More compile warning ... Albert D. Cahalan
- Re: [PATCH] More compile warn... Linus Torvalds
- Re: [PATCH] More compile ... Andrea Arcangeli
- Re: [PATCH] More compile ... Linus Torvalds
- Re: [PATCH] More compile ... Rich Baum
- Re: [PATCH] More compile ... Andrea Arcangeli
- Re: [PATCH] More compile ... Marco Colombo
- Re: [PATCH] More compile ... Alan Shutko