Compiler Warning (level 1) C4602
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Compiler Warning (level 1) C4602.
pragma pop_macro : 'macro name' no previous #pragma push_macro for this identifier
If you use pop_macro for a particular macro, you must first have passed that macro name to push_macro. For example, the following sample generates C4602:
// C4602.cpp
// compile with: /W1
int main()
{
#pragma pop_macro("x") // C4602 x is not on the stack
}
Show: