Extensions in g++ to compile C-code

Megha Murarka megha@poseidontech.com
Tue Dec 16 08:48:00 GMT 2003

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,

More information about the Gcc-help mailing list