Messages in this thread | | | Date | Thu, 16 Dec 2004 20:56:41 +0000 | From | "H. Peter Anvin" <> | Subject | Re: 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/
| |