const int myFirstVar = 1 << 4;
const int mySecondVar = 1 << 2;
const int myNum = myFirstVar | mySecondVar;
Warning
Not found: myFirstVar
If variables are defined asCodethe context-menu command "Find declaration of '[any of these variables] " fails, i.e.:const int myFirstVar = 1 << 4;
const int mySecondVar = 1 << 2;
const int myNum = myFirstVar | mySecondVar;CodeWarning
Not found: myFirstVar
Is this a bug, or is there something I can do to locate such declarations in my project?
Hello, allShould (now really) be fixed in svn (r5327).
I use svn, rev5322. The error is not corrected.
In the same way, the error reveals itself when variable is a parameter of function.
int main(int argc, char *argv[])
{
........
int my_argc = argc;
}