Hi everybody, I have a little problem with Visual C++ 6.0
My project is a mixture of C and C++ code
I have many C functions whose definition follows the old-style, like
the following:
************************************************** ****************************
bool_t *
datiambientaliauto_ntfy_1(argp, clnt)
RPCST_DATI_AMB_AUTO_NTFY *argp;
CLIENT *clnt;
{
static bool_t res;
bzero(&res, sizeof(res));
if (clnt_call(clnt, datiAmbientaliAuto_ntfy,
xdr_RPCST_DATI_AMB_AUTO_NTFY, argp, xdr_bool, &res, TIMEOUT) !=
RPC_SUCCESS) {
return (NULL);
}
return (&res);
}
************************************************** ****************************
this old style is now considered obsolete.
The problem is that this way VC++ considers the local parameters as
being global variables instead of local; this results in the class tab
of the workspace window being full of such wrong global variables.
Do you know how can I tell the IDE to analyze correctly code of C
old-style function definition?
Thank you
Luca