Skip to content

[Runtime] #ifdef __clang__ on printf __attribute__ in Portability.h #35566

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
Jan 23, 2021

Conversation

mikeash
Copy link
Contributor

@mikeash mikeash commented Jan 23, 2021

I broke the Windows build again.

@mikeash
Copy link
Contributor Author

mikeash commented Jan 23, 2021

@swift-ci please test

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

We might be able to make this a bit looser and include GCC, but lets get the build repaired first (and there are other known issues with GCC right now).

@compnerd compnerd merged commit 8b5869c into swiftlang:main Jan 23, 2021
@davezarzycki
Copy link
Contributor

This attribute is a very old GCCism and after playing around with godblot.org, it appears that only MSVC rejects this attribute. Every other compiler seems to be able to handle it just fine, warning/error free.

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.

4 participants