Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.84 KB

errorreport-report-internal-compiler-errors.md

File metadata and controls

39 lines (25 loc) · 1.84 KB
title description ms.date f1_keywords helpviewer_keywords ms.assetid
/errorReport (Report Internal Compiler Errors)
Reference for the Microsoft C/C++ compiler /errorReport command-line option.
02/09/2020
VC.Project.VCCLCompilerTool.ErrorReporting
/errorReport compiler option [C++]
-errorReport compiler option [C++]
819828f8-b0a5-412c-9c57-bf822f17e667

/errorReport (Report Internal Compiler Errors)

Note

The /errorReport option is deprecated. Starting in Windows Vista, error reporting is controlled by Windows Error Reporting (WER) settings.

Syntax

/errorReport:[none | prompt | queue | send ]

Remarks

An internal compiler error (ICE) results when the compiler can't process a source code file. When an ICE occurs, the compiler doesn't produce an output file, or any useful diagnostic that you can use to fix your code.

The /errorReport arguments are overridden by the Windows Error Reporting service settings. The compiler automatically sends reports of internal errors to Microsoft, if reporting is enabled by Windows Error Reporting. No report is sent if disabled by Windows Error Reporting.

To set this compiler option in the Visual Studio development environment

  1. Open the project Property Pages dialog box. For more information, see Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > C/C++ > Advanced property page.

  3. Modify the Error Reporting property.

To set this compiler option programmatically

  • See xref:Microsoft.VisualStudio.VCProjectEngine.VCCLCompilerTool.ErrorReporting%2A.

See also

MSVC Compiler Options
MSVC Compiler Command-Line Syntax