Skip to content
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

Fix build break in CrossAOT_Mono crossaot builds #106578

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Aug 17, 2024

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@lewing lewing merged commit 217525a into dotnet:main Aug 18, 2024
146 of 149 checks passed
@jkotas jkotas deleted the issue-106521 branch August 18, 2024 17:24
@jkotas
Copy link
Member Author

jkotas commented Aug 18, 2024

/backport to release/9.0-rc1

Copy link
Contributor

Started backporting to release/9.0-rc1: https://github.com/dotnet/runtime/actions/runs/10442494811

@ericstj
Copy link
Member

ericstj commented Aug 19, 2024

Looks good. Thank you @jkotas! @carlossanlop do we need to propose this upstream?

@jkotas
Copy link
Member Author

jkotas commented Aug 19, 2024

libz-ng has #define W <integer constant> and few other similar defines for single letter symbols in one of the headers. The Windows SDK happens to use single letter field and argument names in a few places. This build break was caused by these defines being applied to Windows SDK.

There are a few options for upstream fix:

  • Include system headers before libz-ng ``#define W ...`. (The change in this PR.)
    or
  • Use #defines with more unique names in libz-ng

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

Successfully merging this pull request may close these issues.

3 participants