Re: Compiling C++ modules

From: Kyle Moffett
Date: Tue May 02 2006 - 11:26:31 EST


On May 2, 2006, at 11:15:25, Al Viro wrote:
On Tue, May 02, 2006 at 06:04:23PM +0300, Avi Kivity wrote:
BTW, C++ could take over some of sparse's function:

And the point of that would be? sparse is _fast_ and easy to modify; g++ is neither.

For example; you can run _both_ a full sparse with all checks _and_ "gcc -Wall -Wextra -Werror -g -O2" in less time than it takes to _just_ run "g++ -O0" on a nearly identical file. If you have some new typechecking to do, figure out how to add it to sparse without cluttering up the syntax, don't convert the thing to C++, slow down the compile, etc.

Cheers,
Kyle Moffett


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