lkml.org 
[lkml]   [2004]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PROBLEM: Compatibility problem with C++, i386 & ia64 platform
From
Date
On Maw, 2004-11-23 at 12:54, Joakim Bentholm XQ (AS/EAB) wrote:
> Maybe the system.h is not supposed to be included outside the kernel?
> Is there a less crude way of getting hold of the macros?

Nobody has really done serious C++ work with the base kernel. Getting
things like interrupt safe C++ memory and exception handling is not
exactly trivial
stuff. As such the kernel isn't really designed to be C++ friendly so
there are various uses of names like "new" in the kernel.

Developing kernel modules with C++ probably isn't ideal but I don't see
any problem in fixing the users of variables like "new" if you want to
do it and submit tested patches to akpm@osdl.org.

Alan

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

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.041 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site