Szerkesztés

Megosztás a következőn keresztül:


/VERBOSE (Print progress messages)

Outputs progress messages during the link process.

Syntax

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

Remarks

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.

Option Description
/VERBOSE Displays details about the linking process.
/VERBOSE:CLR Displays information about linker activity specific to objects and metadata compiled by using /clr.
/VERBOSE:ICF Displays information about linker activity that results from the use of /OPT:ICF.
/VERBOSE:INCR Displays information about the incremental link process.
/VERBOSE:LIB Displays progress messages that indicate just the libraries searched.
The displayed information includes the library search process. It 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:REF Displays information about linker activity that results from the use of /OPT:REF.
/VERBOSE:SAFESEH Displays information about modules that are incompatible with safe structured exception handling when /SAFESEH isn't specified.
/VERBOSE:UNUSEDDELAYLOAD Displays information about any delay loaded DLLs that have no symbols used when the image is created.
/VERBOSE:UNUSEDLIBS Displays 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 Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > Linker > Command Line property page.

  3. Add the option to the Additional Options box.

To set this linker option programmatically

See also

MSVC linker reference
MSVC Linker Options