I came across this PCH issue in VS c++. i have done some searches before asking here. it seems that adding #pragma once would solve the problem. However, i wonder if there is another way.
enter link description here resource link
I came across this PCH issue in VS c++. i have done some searches before asking here. it seems that adding #pragma once would solve the problem. However, i wonder if there is another way.
enter link description here resource link
This is a visual studio 2010 bug. It'll go away when you add a .cpp file and include the singleton header in it.