C1XX Fatal Errors

The table below, which is still in development (for accuracy as well as for completeness), lists the fatal errors that the front-end C++ compiler (C1XX) is known to be capable of issuing in version 13.00.9466.

Text for each error message is reproduced from the corresponding resource string in the executable, with placeholders resolved as much as possible in the style of the product documentation. It is as well to note that the message text given in the product documentation is in some cases different from (and in a handful of cases, is nothing like) any text that could possibly be resolved from the corresponding resource string.

Error numbers that the product documentation does not list among the C/C++ Build Errors are highlighted yellow. For some, the code that can raise the error may turn out at closer inspection to be unreachable.

Fatal Error Message
C1001 INTERNAL COMPILER ERROR
        (compiler file 'file', line number)
         Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more information
C1003 error count exceeds number; stopping compilation
C1004 unexpected end of file found
C1005 string too big for buffer
C1007 unrecognized flag 'string' in 'option'
C1008 no input file specified
C1009 compiler limit : macros nested too deeply
C1010 unexpected end of file while looking for precompiled header directive
C1012 unmatched parenthesis : missing 'character'
C1013 compiler limit : too many open parentheses
C1014 too many include files : depth = level
C1016 #if[n]def expected an identifier
C1017 invalid integer constant expression
C1018 unexpected #elif
C1019 unexpected #else
C1020 unexpected #endif
C1021 invalid preprocessor command 'string'
C1022 expected #endif
C1026 parser stack overflow, program too complex
C1033 cannot open program database 'pdb'
C1034 file: no include path set
C1035 expression too complex; simplify expression
C1036 cannot overwrite earlier program database format, delete 'filename' and recompile
C1038 compiler limit : 'function' : control flow state too complex; simplify function
C1039 decl/defn not complete, cannot create precompiled header at this point
C1040 ILStore error for filetype file: 'filename': reason
C1045 compiler limit : linkage specifications nested too deeply
C1046 compiler limit : structure nested too deeply
C1048 unknown option '%c' in '%s'
C1049 invalid numerical argument '%s'
C1051 program database file, 'pdbfile', has an obsolete format, delete it and recompile
C1054 compiler limit : initializers nested too deeply
C1055 compiler limit : out of keys
C1057 unexpected end of file in macro expansion
C1060 compiler is out of heap space
C1061 compiler limit : blocks nested too deeply
C1063 INTERNAL COMPILER ERROR
         Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more information
C1064 compiler limit : token overflowed internal buffer
C1065 compiler limit : out of tags
C1067 compiler limit : debug information module size exceeded
C1068 cannot open file '%s'
C1070 mismatched #if/#endif pair in file 'filename'
C1071 unexpected end of file found in comment
C1073 Internal error involving incremental compilation(compiler file 'filename', line number)
C1074 'IDB' is illegal extension for PDB file: filename
C1075 end of file found before the left token at 'filename(linenumber)' was matched
C1076 compiler limit : internal heap limit reached; use /Zm to specify a higher limit
C1077 compiler limit : cannot have more than number command line options
C1079 compiler limit : PCH file size limit exceeded
C1080 compiler limit : command line option exceeded limit of number characters
C1081 'symbol': file name exceeds number bytes in length
C1082 Cannot close filetype file: 'file': message
C1083 Cannot open filetype file: 'file': message
C1084 Cannot read filetype file: 'file': message
C1085 Cannot write filetype file: 'file': message
C1086 Cannot seek filetype file: 'file': message
C1087 Cannot tell filetype file: 'file': message
C1088 Cannot flush filetype file: 'file': message
C1089 Cannot truncate filetype file: 'file': message
C1091 compiler limit: string exceeds length bytes in length
C1093 API call 'function-name' failed '0xlocation-of-call' : text-from-run-time
C1098 Version mismatch with Edit and Continue engine
C1099 Edit and Continue engine terminating compile
C1100 unable to initialize OLE : system-error-message
C1101 cannot create handler for attribute '%$I'
C1102 unable to initialize : '%$E'
C1103 fatal error importing progid: '%s'
C1104 fatal error importing libid: '%s'
C1105 %s : %$E
C1107 could not find assembly 'file': please specify the assembly search path using /AI or by setting the LIBPATH environment variable
C1108 unable to find DLL: 'dll'
C1109 unable to find 'entry point' in DLL 'dll'
C1110 too many nested template definitions
C1111 too many template parameters
C1112 compiler limit : 'number' too many macro arguments, only 'max' allowed
C1120 call to GetProcAddress failed for 'function'
C1189 #error : user-supplied-error-message
C1190 managed targeted code requires '#using <mscorlib.dll>' and '/clr' option
C1191 'dll' can only be imported at global scope
C1192 #using failed on 'file'
C1195 use of /Yu and /Yc on the same command line is incompatible with the /clr option
C1201 unable to continue after syntax error in template class definition
C1202 recursive type or function dependency context too complex
C1204 compiler limit : internal structure overflow
C1506 unrecoverable block scoping error
C1507 previous user errors and subsequent error recovery halt further compilation
C1508 compiler limit : 'function' : more than 65535 argument bytes
C1509 compiler limit : too many exception handler states in function 'function'. simplify function
C1852 'filename' is not a valid precompiled header file
C1853 'filename' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
C1854 cannot overwrite information formed during creation of the precompiled header in object file: 'filename'
C1859 '%s' unexpected precompiled header error, simply rerunning the compiler might fix this problem
C1902 Program database manager mismatch; please check your installation
C1903 unable to recover from previous error(s); stopping compilation
C1904 bad provider interaction: file