Re: 2.2.18 asm-alpha/system.h has a problem

From: Peter Samuelson (peter@cadcamlab.org)
Date: Mon Dec 18 2000 - 10:03:00 EST


  [Peter Samuelson]
> > You are changing perfectly legal C.

[Andrea Arcangeli]
> You're right that's not kernel issue and patch can be rejected, but
> he's not really changing anything :). If changing that helps then
> it's a compiler bug.

Not a compiler bug, a source bug of assuming a C header file can be
included by a C++ program. The right solution, as always, is to make a
copy of the header (assuming you really do need it) and edit the copy
as necessary. This is a simple variation on the #ifdef __KERNEL__
issue.

Peter
-
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 : Sat Dec 23 2000 - 21:00:21 EST