i have just added:
static void testFunc()
{
printf("hello");
}
void testFunc2()
{
testFunc();
printf(" world");
}
to an existing cpp file, and alt_g on testFunc jumps to the '{' on the function, just fine. these are the first two functions in this cpp file.
however, other alt_g jumps in the same cpp file are picking up an extra, incorrect target i am getting the same problem in two different projects, in different cpp files.
i dont know if this is the problem you are seeing, but i have definetly confused alt_g. are you getting the problem with the first static function in a file? or are there static functions further up the file?
case=371