Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 1) C4600
Collapse the table of content
Expand the table of content

Compiler Warning (level 1) C4600

Error Message

#pragma 'macro name' : expected a valid non-empty string

You cannot specify an empty string when you push or pop a macro name with either the pop_macro or push_macro.

The following sample generates C4600:

// C4600.cpp
// compile with: /W1
int main()
{
   #pragma push_macro("")   // C4600 passing an empty string
}

Community Additions

ADD
Show:
© 2015 Microsoft