description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Fatal Error C1021 |
Fatal Error C1021 |
11/04/2016 |
|
|
e23171f4-ca6b-40c0-a913-a2edc6fa3766 |
invalid preprocessor command 'string'
string
is not a valid preprocessor directive. To resolve the error, use a valid preprocessor name for string
.
The following sample generates C1021:
// C1021.cpp
#BadPreProcName // C1021 delete line