[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: Use C++ in kernel module?
From:       Bongani Hlope <bhlope () mweb ! co ! za>
Date:       2007-03-30 6:59:32
Message-ID: 200703300859.32305.bhlope () mweb ! co ! za
[Download RAW message or body]

On Friday 30 March 2007 05:49:14 Jan Engelhardt wrote:
> On Mar 30 2007 11:37, Conke Hu wrote:
> > Is it possible to use C++ in linux kernel module? how?
> > I've tested but failed, there is an unknown symbol in the .o file from
> > c++ source code.
>
> You answered it yourself. Linux does not have a C++ runtime.
> It is possible to use a very limited set of C++ features, usually not
> worth the fight.
>
>
> Jan

Do the "C++ kernel modules" crowd actually know C++? If they knew how C++ was 
designed, they would know that it requires some runtime support, which will 
stop them from asking this question over and over again. I'm begining to 
think that most of these questions are asked by people who think OO 
programing should used in the kernel (which is already done anyway)

--

A log may float in a river, but that does not make it a crocodile.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic