Can you please try creating a new win32 test project and paste your example into the header file:
namespace MYNAMESPACE
{
enum
{
ENUMVAL_1=0,
ENUMVAL_2,
ENUMVAL_3,
};
};
then this into the cpp file:
using namespace MYNAMESPACE;
void func()
{
ENUMVAL_2;
}
I'm wondering whether this will show up in a "clean" environment. I tried this myself, but goto works for me, and I got this tooltip:
(By the cpp and h file I meant the "main" one with the winmain function and the corresponding header)