[ros-kernel] C++
KJK::Hyperion
noog at libero.it
Tue Mar 9 23:21:12 CET 2004
At 20.34 09/03/2004, you wrote:
>What's our policy on C++ code?
in kernel-mode code don't use exceptions nor RTTI. They just plain won't
work as you expect. Forget about them. Code around this limitation. For
performance and binary size reasons, don't use them in lower-level system
DLLs either. If the code is going to be shared with the Wine project, just
forget about C++, or take special, extra care and pain in not using fancy
modern features or coding practices that rely too much on the
folding/unrolling/refactoring capabilities of the compiler, *or*, if you do
it, take some time to try several compilers and disassemble the binaries
they generate, and decide if the results are reasonable
More information about the Ros-kernel
mailing list