Messages in this thread | | | From | Peter Samuelson <> | Date | Mon, 18 Dec 2000 09:03:00 -0600 (CST) | Subject | Re: 2.2.18 asm-alpha/system.h has a problem |
| |
[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/
| |