Re: Use C++ in kernel module?

From: Jan Engelhardt
Date: Thu Mar 29 2007 - 23:50:02 EST



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
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/