public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Megha Murarka" <megha@poseidontech.com>
To: <gcc-help@gcc.gnu.org>
Subject: Extensions in g++ to compile C-code
Date: Tue, 16 Dec 2003 08:48:00 -0000	[thread overview]
Message-ID: <000c01c3c3b2$fffc84c0$1801a8c0@megha> (raw)
In-Reply-To: <Pine.LNX.4.44.0312160936510.18901-100000@lantana.iitm.ernet.in>

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.

  reply	other threads:[~2003-12-16  8:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-15 18:31 gcc installation Pranav Sharma, Noida
2003-12-16  4:19 ` Bharathi S
2003-12-16  8:48   ` Megha Murarka [this message]
2003-12-16  9:14 Extensions in g++ to compile C-code Raghunath L- CTD, Chennai.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000c01c3c3b2$fffc84c0$1801a8c0@megha' \
    --to=megha@poseidontech.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).