Skip to content

Commit c56b626

Browse files
author
Colin Robertson
committed
Acrolinx pass
1 parent 21938c0 commit c56b626

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/build/reference/wl-enable-one-line-diagnostics.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Appends additional information to an error or warning message.
1818

1919
## Remarks
2020

21-
Error and warning messages from the C++ compiler can be followed by additional information that appears, by default, on a new line. When you compile from the command line, the additional line of information can be appended to the error or warning message. This might be desirable if you capture your build output to a log file and then process that log to find all errors and warnings. A semicolon will separate the error or warning message from the additional line.
21+
Error and warning messages from the C++ compiler can be followed by additional information that appears, by default, on a new line. When you compile from the command line, the extra line of information can be appended to the error or warning message. It's useful if you capture your build output to a log file and then process that log to find all errors and warnings. A semicolon will separate the error or warning message from the additional line.
2222

23-
Not all error and warning messages have an additional line of information. The following code will generate an error that has an additional line of information; it will let you test the effect when you use **/WL**.
23+
Not all error and warning messages have an extra line of information. The following code will generate an error that has another line of information. It lets you test the effect when you use **/WL**.
2424

2525
```cpp
2626
// compiler_option_WL.cpp

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,15 @@ 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-
This is similar to **/WX** for the compiler (see [/w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level)](compiler-option-warning-level.md) for more information). 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+
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.
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. Click the **Linker** folder.
28-
29-
1. Click the **Command Line** property page.
27+
1. Select the **Configuration Properties** > **Linker** > **Command Line** property page.
3028

3129
1. Enter the option into the **Additional Options** box.
3230

0 commit comments

Comments
 (0)