Skip to content

Commit eceae83

Browse files
authored
Update scl-secure-no-warnings.md
I didn't like the [other compiler options] that was in there originally because it doesn't add anything and can potentially make someone think the warning flag must come first.
1 parent d310d08 commit eceae83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard-library/scl-secure-no-warnings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Other ways to disable warning C4996 include:
4040
Also, you can manually change the level of warning C4996 with the `/w<l><n>` compiler option. For example, to set warning C4996 to level 4:
4141

4242
```cmd
43-
cl /w44996 [other compiler options] myfile.cpp
43+
cl /w44996 myfile.cpp
4444
```
4545

4646
For more information, see [`/w`, `/W0`, `/W1`, `/W2`, `/W3`, `/W4`, `/w1`, `/w2`, `/w3`, `/w4`, `/Wall`, `/wd`, `/we`, `/wo`, `/Wv`, `/WX` (Warning Level)](../build/reference/compiler-option-warning-level.md).

0 commit comments

Comments
 (0)