/VERBOSE (Print Progress Messages)

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

/VERBOSE[:{ICF|INCR|LIB|REF|SAFESEH|UNUSEDLIBS}]  

The linker sends information about the progress of the linking session to the Output window. On the command line, the information is sent to standard output and can be redirected to a file.

OptionDescription
/VERBOSEDisplays details about the linking process.
/VERBOSE:ICFDisplay information about linker activity that results from the use of /OPT:ICF.
/VERBOSE:INCRDisplays information about the incremental link process.
/VERBOSE:LIBDisplays progress messages that indicate just the libraries searched.

The displayed information includes the library search process and lists each library and object name (with full path), the symbol being resolved from the library, and a list of objects that reference the symbol.
/VERBOSE:REFDisplays information about linker activity that results from the use of /OPT:REF.
/VERBOSE:SAFESEHDisplays information about modules that are not compatible with safe exception handling when /SAFESEH is not specified.
/VERBOSE:UNUSEDLIBSDisplays information about any library files that are unused when the image is created.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.

  2. Expand the Linker folder.

  3. Select the Command Line property page.

  4. Add the option to the Additional Options box.

To set this linker option programmatically

Setting Linker Options
Linker Options

Show: