From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17226 invoked by alias); 16 Dec 2003 08:48:10 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 17216 invoked from network); 16 Dec 2003 08:48:08 -0000 Received: from unknown (HELO mailsvr.fastdnsservers.com) (209.81.157.3) by sources.redhat.com with SMTP; 16 Dec 2003 08:48:08 -0000 Received: from megha (unverified [61.95.224.147]) by mailsvr.fastdnsservers.com (Vircom SMTPRS 1.4.232) with SMTP id for ; Tue, 16 Dec 2003 03:49:21 -0500 Message-ID: <000c01c3c3b2$fffc84c0$1801a8c0@megha> From: "Megha Murarka" To: References: Subject: Extensions in g++ to compile C-code Date: Tue, 16 Dec 2003 08:48:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00151.txt.bz2 Hi All, I have a library whose source code is written in C language. The function definition syntax followed is of the form : - int foo(a,b) int a; int b; { return a+b; } If i need to compile this using g++ compiler, are there any extensions available to compile the same code without changing the code . If any other way, pls suggest. Thanks in advance, Regards, Megha.