lkml.org 
[lkml]   [2004]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: What if?
Jan Engelhardt wrote:
>>>g++ is still much slower. We don't know how many bugs it would show up
>>>in the compiler and tools either, especially on embedded platforms.
>>>Finally the current kernel won't go through a C++ compiler because we
>>>use variables like "new" quite often.
>>
>>-Dnew=_New, problem solved.
>
>
> It's not that easy. Just when you expect it least, a few tiny sourcecode bits
> already use new (in the C++ sense) and whoops:
> int *b = _New int[4];
> (self-explanatory)
>

Unlikely, since we'd already have caught it, but either way -- hat's a
bug too. There shouldn't be any C++ code in the kernel, period.

-hpa

-
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:1.509 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site