Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.55 KB

errorreport-report-internal-linker-errors.md

File metadata and controls

36 lines (23 loc) · 1.55 KB
title description ms.date f1_keywords helpviewer_keywords ms.assetid
/ERRORREPORT (Report internal linker errors)
Learn how to use /ERRORREPORT.
02/09/2020
/ERRORREPORT
VC.Project.VCLinkerTool.ErrorReporting
/ERRORREPORT linker option
ERRORREPORT linker option
-ERRORREPORT linker option
f5fab595-a2f1-4eb0-ab5c-1c0fbd3d8c28

/ERRORREPORT (Report Internal Linker Errors)

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

The /ERRORREPORT arguments are overridden by the Windows Error Reporting service settings. The linker 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 > Linker > Advanced property page.

  3. Modify the Error Reporting property.

To set this compiler option programmatically

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

See also

MSVC linker reference
MSVC linker options