Compiler Warning (level 1) C4602
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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
© 2015 Microsoft