lkml.org 
[lkml]   [1999]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: linux headers and C++
From
Date
>>>>> "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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.192 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site