-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
undef _XOPEN_SOURCE breaks the build in AIX #12548
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
Conversation
Well, today I learned what |
Yes. This _XOPEN_SOURCE specifies the X/OPEN & POSIX standards. |
Well, I don't understand why we undefine these in the first place. The commit message is a nebulous "Fixes for clang", but I don't know what clang has to do with it. |
@mdboom Any update on this ? |
As we are going to do a 3.0.1 (likely today) due to other issues I am in favor of merging this and investigating why we are unsetting |
Thanks @tacaswell ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like the least-risky option (compared with just removing the #undef
s).
…548-on-v3.0.x Backport PR #12548 on branch v3.0.x (undef _XOPEN_SOURCE breaks the build in AIX)
…548-on-v2.2.x Backport PR #12548 on branch v2.2.x (undef _XOPEN_SOURCE breaks the build in AIX)
Thank You Guys for the support. |
PR Summary
This PR addresses the issue #12535
Some of the function declarations in AIX header files are based on the _XOPEN_SOURCE value. So undefining it breaks the build.
PR Checklist