Re: What if?

From: Jan Engelhardt
Date: Thu Dec 16 2004 - 15:54:06 EST


>> 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)





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