Xref for local variables not working ?
Mike_D_Davies@fmo.com
Mike_D_Davies@fmo.com
Wed Jul 11 12:14:00 GMT 2001
Hi,
I am running SN 5 under Windows and I have tried to enable "Generate references
to local variables" in the project preferences/xref tab but I still cannot
generate an xref for a local variable.
I have generated a simple project based on the single c++ file below and I can
only see an xref for the variable x, not the variable y. I have tried saving
local variable parsing enabled as the default and re-running the project build
but that does not help.
Is this a bug or am I missing something ?
Thanks,
Mike
#include <iostream>
int action();
int x = 0;
int main()
{
int retval = action();
int y = 3;
return 0;
}
int action()
{
cout << "hello world !";
return 0;
}
More information about the Sourcenav
mailing list