Jamie Lokier wrote: > > > Just leave out the #undefs. You're not actually using new & virtual in > your code, are you? :-) >
Both new and virtual would work in kernel space, and most c++ programs
need them.
virtual: virtual functions are a simplified way for creating and
initializing function pointer tables in structures.
new: combination of kmalloc() + structure initialization. It's possible
to use kmalloc() instead of malloc() for the allocations.
--
Manfred
-
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/