Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 538 Bytes

fatal-error-c1021.md

File metadata and controls

20 lines (16 loc) · 538 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Fatal Error C1021
Fatal Error C1021
11/04/2016
C1021
C1021
e23171f4-ca6b-40c0-a913-a2edc6fa3766

Fatal Error C1021

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