Function Prototype Generation

Bob Smith bsmith@sudleyplace.com
Sun Jun 1 18:40:00 GMT 2008


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?

2.  Why would MS want to remove this useful capability, or 
alternatively, why doesn't gcc have this useful capability?

3.  How do you folks do this without the compiler's help?  Manually?

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



More information about the Gcc-help mailing list