At a specific point in my code the following function appears.
1 2 3 4 5 6 7 8 9 10 11
int ReadStdInput(char** out) {
int PosMax = 1024;
char input;
char validInput[PosMax+1];
for(int i = 0; i <= PosMax; i++){
validInput[i]=0;
}
[...]
return 0;
}
The problem is, that the variables char input, char validInput[PosMax+1], int PosMax and even the "i" in the for-loop are appearing in the class-browser of DEV-C++ among the other global variables and functions.
I don't have any classes.
However this problem doesn't exist with any other project file.
And only this particular function is affected by this problem -> no other local variables are shown