Skip to content

CoreFoundation: adjust uuid.h inclusion #4594

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

Merged
merged 1 commit into from
May 24, 2022
Merged

Conversation

compnerd
Copy link
Member

The Swift Runtime path always uses the UUID functions from the
statically linked UUID library. However, the header was only included
in the non-Windows case. The latest LLVM update makes implicit
declarations invalid as per the C99 standard. Adjust the inclusion path
to also include uuid.h on Windows when building with the Swift
Runtime.

The Swift Runtime path always uses the UUID functions from the
statically linked UUID library.  However, the header was only included
in the non-Windows case.  The latest LLVM update makes implicit
declarations invalid as per the C99 standard.  Adjust the inclusion path
to also include `uuid.h` on Windows when building with the Swift
Runtime.
@compnerd
Copy link
Member Author

CC: @bnbarham

@compnerd
Copy link
Member Author

@swift-ci please test

Copy link
Contributor

@bnbarham bnbarham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me given the current failure on rebranch. @millenomi in case you have any opinions

@compnerd
Copy link
Member Author

@swift-ci please test Linux platform

@compnerd compnerd merged commit b02a439 into swiftlang:main May 24, 2022
@compnerd compnerd deleted the uuid branch May 24, 2022 21:28
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