The .cpp file compiles normally, but the Scopes combo box does show only 3 of a total of more than 50 classes and structures existing in this file. The Functions in Scope combo box doesn’t show anything for those 3 classes.
I have a different version of the same .cpp file in another project (same solution) where both combo boxes are working perfectly.
Does anyone know what could be the problem ?
EDIT: The Scope combo box keeps showing “Unknown scope” for the vast majority of the class member functions that I click with the left mouse button.
EDIT1: This is a very simplified version of the problem that I’m facing with those 2 combo boxes :
class A
{
int i;
public:
A();
A(int);
A(short);
};
// VS2008 - If I click with the left mouse button in between the brackets below I get
// in the 2 combo boxes boxes the following results :
A::A() : i(10) {} // A and A()
A::A(short s) : i(s) {} // A and A(short)
A::A(int k) : i(k) {} // (Unknown Scope)
// Why the unknown scope ?
Edit3 : This was a bug in VS2008. It doesn’t happen in VS210 !
This was a bug in VS2008. No more in VS2010 !!