Re: [PATCH] fix warning about duplicate 'const'

From: Richard Henderson
Date: Wed Mar 10 2004 - 13:26:21 EST


On Wed, Mar 10, 2004 at 07:43:10AM -0800, Linus Torvalds wrote:
> Ok, let's try just stripping the "const" out of the min/max macros, and
> see what complains.

I remember what complains. You get actual errors from

const int x;
int y;
min(x, y);


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