Pre-ANSI C functions and .NET browse information symbols

From: RK (user_at_email.com)
Date: 01/31/05


Date: Sun, 30 Jan 2005 22:25:18 -0600

I need to compile a library of C code with pre-ANSI C functions using MS
.NET 2003. The functions are declared something like this:

int myFunction(p)
double p;
{
  int x;
  code here...
  return x;
}

The compilation proceeds without a glitch but when I tell .NET to build
browse information for the functions, it seems not to include the pre-ANSI
functions in browse information.

I could manually make the functions ANSI compliant by changing the code but
there are 75+ functions. This seems to work for a few functions that I have
altered. Is there a switch that tells .NET that the functions are pre-ANSI
style so that it can build the browse information correctly or some other
way to get the functions into the browse information?

Thanks,
RK



Relevant Pages