Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 678 Bytes

compiler-warning-level-1-c4600.md

File metadata and controls

24 lines (20 loc) · 678 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4600
Compiler Warning (level 1) C4600
11/04/2016
C4600
C4600
f023a2a1-7fc4-463f-a434-dc93fcd3f4e9

Compiler Warning (level 1) C4600

#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
}