/errorReport (Report Internal Compiler Errors)
Enables you to provide internal compiler error (ICE) information directly to the Microsoft Visual C++ development team.
/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 use administrator credentials to log on, a window is displayed where you can report any failures since the last time you were logged on. (You will not be prompted to send reports for failures more than once every three days.) queue is the default when you compile an application at the command prompt.
Automatically sends reports of internal compiler errors to Microsoft. To enable this option, you must first agree to the Microsoft data collection policy. The first time you specify /errorReport:send on a computer, a compiler message will refer you to a website that contains the Microsoft data collection policy.
An internal compiler error (ICE) is thrown when the compiler cannot process a source code file. When an ICE occurs, the compiler does not produce an output file or any other 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 the Microsoft development team. Your error reports can help improve future compiler releases.
The ability to send reports depends on machine policy and user policy permissions.
To set this compiler option in the Visual Studio development environment
Open the project Property Pages dialog box. For more information, see How to: Open Project Property Pages.
In the left pane, click the C/C++ folder and then click Advanced.
Modify the Error Reportingproperty.
To set this compiler option programmatically
- See ErrorReporting.