From: Bongani Hlope <bhlope@mweb.co.za>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Conke Hu <conke.hu@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Use C++ in kernel module?
Date: Fri, 30 Mar 2007 08:59:32 +0200 [thread overview]
Message-ID: <200703300859.32305.bhlope@mweb.co.za> (raw)
In-Reply-To: <Pine.LNX.4.61.0703300547010.31834@yvahk01.tjqt.qr>
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.
next prev parent reply other threads:[~2007-03-30 7:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-30 3:37 Conke Hu
2007-03-30 3:49 ` Jan Engelhardt
2007-03-30 6:59 ` Bongani Hlope [this message]
2007-03-30 14:53 ` Alistair John Strachan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200703300859.32305.bhlope@mweb.co.za \
--to=bhlope@mweb.co.za \
--cc=conke.hu@gmail.com \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®