Skip to content

Update compiler options to meet binskim requirements#9699

Merged
stsoe merged 2 commits intoXilinx:masterfrom
hyunjiki-amd:binskim-warnings
Apr 1, 2026
Merged

Update compiler options to meet binskim requirements#9699
stsoe merged 2 commits intoXilinx:masterfrom
hyunjiki-amd:binskim-warnings

Conversation

@hyunjiki-amd
Copy link
Copy Markdown
Collaborator

Problem solved by the commit

To fix binskim BA2028 and BA6002.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

None

How problem was solved, alternative solutions (if any) and why they were rejected

Use /guard:cast /d2CastGuardFailureMode:fastfail /GL and /GF compiler option.

Risks (if any) associated the changes in the commit

None

What has been tested and how, request additional testing if necessary

Tested successful build locally.

Documentation impact (if any)

None

To fix BA2028 and BA6002, use /guard:cast /d2CastGuardFailureMode:fastfail /GL and /GF compiler option.
Tested successful build locally.
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Update the comment for better explantation
@hyunjiki-amd hyunjiki-amd marked this pull request as ready for review March 31, 2026 15:11
@stsoe
Copy link
Copy Markdown
Collaborator

stsoe commented Mar 31, 2026

Interesting, have you tried manually in XRT-MCDM, so that we get no surprises when updating XRT submodule later?
Please signoff for DCO to pass.

@stsoe stsoe merged commit 003c0fc into Xilinx:master Apr 1, 2026
21 checks passed
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.

2 participants