Re: linux headers and C++

Jes Sorensen (Jes.Sorensen@cern.ch)
05 Jul 1999 16:45:51 +0200


>>>>> "Jamie" == Jamie Lokier <lkd@tantalophile.demon.co.uk> writes:

Jamie> Jes Sorensen wrote:
>> Last time I checked kernel headers were not meant to be compiled
>> with a C++ compiler.

Jamie> I don't see why it should be ruled out, as it's only a matter
Jamie> of tidying up. C++ modules can be useful from time to time.

There is no reason to even try to compile kernel modules with C++
since it only makes sense to use the features offered by a C compiler
within the kernel.

The kernel is written in C, there is no reason to pollute drivers and
other parts of the kernel with restrictions to make it C++ compatible.

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/