Re: [PATCH] More compile warning fixes for 2.4.0

From: Richard Henderson (rth@twiddle.net)
Date: Tue Jan 09 2001 - 00:30:44 EST


On Mon, Jan 08, 2001 at 08:50:01PM +0100, Erik Mouw wrote:
> 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.

r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:20 EST