/errorReport (Report Internal Compiler Errors)

Lets you provide internal compiler error (ICE) information directly to Microsoft.


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


Reports about internal compiler errors will not be collected or sent to Microsoft.

Prompts you to send a report when you receive an internal compiler error. prompt is the default when an application is compiled in the development environment.

Queues the error report. When you log in with administrator privileges, a window is displayed so that you can report any failures since the last time you were logged in (you will not be prompted to send reports for failures more than once every three days). queue is the default when an application is compiled at a command prompt.

Automatically sends reports of internal compiler errors to Microsoft if reporting is enabled by the Windows Error Reporting system settings.


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

In earlier releases, when you got an ICE, you were encouraged to call Microsoft Product Support Services to report the problem. With /errorReport, you can provide ICE information directly to Microsoft. Your error reports can help improve future compiler releases.

A user's ability to send reports depends on computer and user policy permissions.

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. Click the C/C++ folder.

  3. Click the Advanced property page.

  4. Modify the Error Reporting property.

To set this compiler option programmatically

See also

MSVC Compiler Options
MSVC Compiler Command-Line Syntax