Re: linux headers and C++

Jes Sorensen (Jes.Sorensen@cern.ch)
03 Jul 1999 09:22:16 +0200


>>>>> "Ronnie" == Ronnie G Misra <rgmisra@MIT.EDU> writes:

Ronnie> tleete@access.mountain.net wrote:
>> Then he's doomed. The kernel headers will nail g++ in it's
>> tracks. Some things will compile but the code might be very
>> strange. There are C++ keywords defined as macros in there.

Ronnie> It's true that this patch doesn't fix all the problems that
Ronnie> someone may run across when using g++ with kernel
Ronnie> headers. However, every "bug" fix, no matter how small,
Ronnie> helps... Perhaps I'll run into more problems later and then I
Ronnie> can report them. :)

Last time I checked kernel headers were not meant to be compiled with
a C++ compiler.

Jes

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