Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265656AbUATSRc (ORCPT ); Tue, 20 Jan 2004 13:17:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265657AbUATSRc (ORCPT ); Tue, 20 Jan 2004 13:17:32 -0500 Received: from zcars0m9.nortelnetworks.com ([47.129.242.157]:27838 "EHLO zcars0m9.nortelnetworks.com") by vger.kernel.org with ESMTP id S265656AbUATSR3 (ORCPT ); Tue, 20 Jan 2004 13:17:29 -0500 Message-ID: <400D7061.9060608@nortelnetworks.com> Date: Tue, 20 Jan 2004 13:16:01 -0500 X-Sybari-Space: 00000000 00000000 00000000 00000000 From: Chris Friesen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: Zan Lynx Cc: root@chaos.analogic.com, Bart Samwel , Ashish sddf , Linux Kernel Mailing List Subject: Re: Compiling C++ kernel module + Makefile References: <20040116210924.61545.qmail@web12008.mail.yahoo.com> <200401171359.20381.bart@samwel.tk> <400C1682.2090207@samwel.tk> <400C37E3.5020802@samwel.tk> <400C4B17.3000003@samwel.tk> <1074620079.22023.26.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 813 Lines: 25 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@nortelnetworks.com - 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/