on 02/05/2009 19:35 Erik Trulsson said the following:
Is the use of C++ inside the kernel really supported? I don't think so,
but I could be wrong.
First question is what did you mean by supported? :-)
Fortunately, it almost does not need to be supported, it can simply be used
(with
some
On Saturday 02 May 2009 11:59:03 am Andrew Brampton wrote:
I'm writing a C++ Kernel Module, and one thing that has been bugging
me is the kernel's definition of NULL.
sys/sys/_null.h (in CURRENT):
#if defined(_KERNEL) || !defined(__cplusplus)
#define NULL((void *)0)
#else
On Mon, May 04, 2009 at 10:46:02AM -0400, John Baldwin wrote:
I think this would be ok to let C++ work in the kernel. Embedded C++ (no
exceptions and no dynamic_cast) should work fine in theory. I would not
change the value of NULL that userland sees though as I think that may be too
risky.
I'm writing a C++ Kernel Module, and one thing that has been bugging
me is the kernel's definition of NULL.
sys/sys/_null.h (in CURRENT):
#if defined(_KERNEL) || !defined(__cplusplus)
#define NULL((void *)0)
#else
#if defined(__GNUG__) defined(__GNUC__) __GNUC__ = 4
#define NULL__null
2009/5/2 Erik Trulsson ertr1...@student.uu.se:
On Sat, May 02, 2009 at 04:59:03PM +0100, Andrew Brampton wrote:
I'm writing a C++ Kernel Module, and one thing that has been bugging
me is the kernel's definition of NULL.
Is the use of C++ inside the kernel really supported? I don't think so
5 matches
Mail list logo