Re: Compiling C++ kernel module + Makefile

From: Chris Friesen
Date: Tue Jan 20 2004 - 13:19:27 EST


Zan Lynx wrote:

I like C++ and hate to see it so unfairly maligned. Here's a much
better example:

Both programs contain exactly the same code: one main() function using
puts("Hello world!").

Just to pick a nit, if you use cout (as most C++ people would) the size goes up by another couple hundred bytes.

Chris


--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@xxxxxxxxxxxxxxxxxx

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