Skip to content

Commit dc46dc6

Browse files
author
Laxman Sole
committed
slightly modified documentation for CETCOMPAT flag based on recent implementation of IDE flag
1 parent b68ef4d commit dc46dc6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/build/reference/cetcompat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The **/CETCOMPAT** option is available beginning in the Visual Studio 2019 Previ
3333

3434
1. Select the **CET Shadow Stack Compatible** property.
3535

36-
1. In the dropdown control, choose **Yes(/CETCOMPAT)** to enable EH continuation metadata, or **No(/CETCOMPAT:NO)** to disable it.
36+
1. In the dropdown control, choose **Yes (/CETCOMPAT)** to enable EH continuation metadata, or **No (/CETCOMPAT:NO)** to disable it.
3737

3838

3939
### To set this linker option programmatically

docs/build/reference/guard-enable-eh-continuation-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Code compiled by using **/guard:ehcont** can be linked to libraries and object f
3434

3535
The linker will fatal, because it cannot generate metadata in these scenarios, which means throwing an exception will likely crash at runtime.
3636

37-
For SEH section info that is in comdats but not compiled with /guard:ehcont, the linker will emit a warning, but will generate correct but conservative metadata for the section. To ignore warnings, open project's **property pages->Configuration Properties->Linker->Advanced-> Ignore Warning LNK4291(EHCont metadata)**
37+
For SEH section info that is in comdats but not compiled with /guard:ehcont, the linker will emit a warning **LNK4291**. In this case linker will generate correct but conservative metadata for the section. To ignore this warning, use [/IGNORE (Ignore Specific Warnings)](ignore-ignore-specific-warnings.md).
3838

3939

4040
To check if a binary contains EHCONT data, look for the following when dumping the binary's load config:

0 commit comments

Comments
 (0)