Skip to content

Commit cf291f3

Browse files
author
Colin Robertson
committed
Less Acrolinx
1 parent c56b626 commit cf291f3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/build/reference/wx-treat-linker-warnings-as-errors.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,17 @@ ms.assetid: e4ba97c7-93f7-43ae-a4bb-d866790926c9
1616

1717
/WX causes no output file to be generated if the linker generates a warning.
1818

19-
It's similar to **/WX** for the compiler. For more information, see [/w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level)](compiler-option-warning-level.md). However, specifying **/WX** for the compilation does not imply that **/WX** will also be in effect for the link phase; you must explicitly specify **/WX** for each tool.
19+
This option is similar to **/WX** for the compiler. For more information, see [/w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level)](compiler-option-warning-level.md). However, specifying **/WX** for the compilation doesn't imply that **/WX** will also be in effect for the link phase; you must explicitly specify **/WX** for each tool.
2020

2121
By default, **/WX** is not in effect. To treat linker warnings as errors, specify **/WX**. **/WX:NO** is the same as not specifying **/WX**.
2222

2323
### To set this linker option in the Visual Studio development environment
2424

2525
1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
2626

27-
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.
27+
1. Click the **Linker** folder.
28+
29+
1. Click the **Command Line** property page.
2830

2931
1. Enter the option into the **Additional Options** box.
3032

0 commit comments

Comments
 (0)