Function Prototype Generation

Bob Smith bsmith@sudleyplace.com
Mon Jun 2 17:24:00 GMT 2008


Tim Prince wrote:
> Bob Smith wrote:
>> I was using MS Visual Studio for a C-only project and want to switch for 
>> various reasons.  One reason not to switch is that I can't find a way to 
>> get gcc to generate function prototypes automatically.  MSVC has a 
>> switch (/Zg) which they list as deprecated to do this.
>>
>> 1.  Am I missing something in gcc?
> Do you mean gnu protoize?

That name sounds intriguing.  From what I can glean from Google, it is 
an optional part of GCC and doesn't appear to be distributed with any of 
the binaries for the Windows platform.  I've downloaded gcc from DJGPP, 
GNU, and MingW without finding that function.

Any other places I should look?

-- 
_______________________________________________________________
Bob Smith - bsmith@sudleyplace.com - http://www.sudleyplace.com



More information about the Gcc-help mailing list