Skip to content

[link.exe /INTEGRITYCHECK] fix -- ":NO" suffix doesn't work, so update the docs #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

glenn-slayden
Copy link
Owner

The doc mentions /INTEGRITYCHECK:NO, but this does not appear to be a valid command line option with the current link.exe releases. My version of link rejects that syntax entirely.

I don't know where the official link.exe source code is kept, but it likely has the exact same bug in the code that I found in the link below. Due to this obvious bug that I point out in the source code, there seems to be no way to explicilty assert /INTEGRITYCHECK in the negative, except by simply removing the option.

https://github.com/microsoft/BuildXL/blob/main/Public/Sdk/Experimental/Msvc/Native/Tools/Link/Link.dsc#L303-L307

I would welcome a link developer to fix the program itself, so it works as described, but in the meantime, at least the docs can be changed to reflect the current situation.

@teo-tsirpanis
Copy link

You opened a PR to your own fork. The link to open a PR upstream is https://github.com/MicrosoftDocs/cpp-docs/compare/main...glenn-slayden:cpp-docs:glenn-slayden-patch-1?expand=1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants