Re: C++ in kernel (was Re: exception in a device driver)

David S. Miller (davem@dm.cobaltmicro.com)
Wed, 6 Jan 1999 18:14:20 -0800


Date: Tue, 05 Jan 1999 20:57:47 -0500
From: Benjamin Scherrey <scherrey@gte.net>

Until then, its time to start considering getting the kernel's
code buildable by g++ a little at a time.

No thanks, take simple normal C code and compile it both as C and then
as C++. Look at the assembler, the C++ compiler gives me lots of code
I didn't ask for. This is why we stopped compiling the kernel with
g++ in the first place.

Secondarily, we have enough problems dealing with gcc bugs just with
the C language, you open up a new pandora's box when we begin having
to deal with c++ front end bugs as well.

The day the Linux kernel starts to go c++ is when I stop working
on it. With C I can see the cycles I get as I code, with c++ there is
no chance.

Later,
David S. Miller
davem@dm.cobaltmicro.com

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