Re: Illegal use of reserved word in system.h

From: Russell King
Date: Thu May 19 2005 - 17:42:38 EST


On Thu, May 19, 2005 at 10:30:32PM +0000, J.A. Magallon wrote:
> Stupid and portable C++ code follows:
>...
> # ifdef __linux__
> strcpy(arch,"x86");

These two appear to be self-contradictory, unless you define "portable"
to mean "x86 only"... which would be hardly portable.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/