Skip to content

Conversation

@maxbelanger
Copy link
Contributor

@maxbelanger maxbelanger commented Oct 19, 2018

This patch works around the following compile errors when building timemodule.c on macOS using Xcode with -Werror=unguarded-availability and -mmacosx-version-min=<xx>.

https://bugs.python.org/issue35025

…dule` based

on the availability of the parent functions
@benjaminp benjaminp merged commit 9445118 into python:master Oct 21, 2018
@miss-islington
Copy link
Contributor

Thanks @maxbelanger for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-10019 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 21, 2018
…timemodule.c. (pythonGH-9961)

Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions
(cherry picked from commit 9445118)

Co-authored-by: Max Bélanger <[email protected]>
@bedevere-bot
Copy link

GH-10020 is a backport of this pull request to the 3.6 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 21, 2018
…timemodule.c. (pythonGH-9961)

Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions
(cherry picked from commit 9445118)

Co-authored-by: Max Bélanger <[email protected]>
miss-islington added a commit that referenced this pull request Oct 21, 2018
…timemodule.c. (GH-9961)

Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions
(cherry picked from commit 9445118)

Co-authored-by: Max Bélanger <[email protected]>
miss-islington added a commit that referenced this pull request Oct 21, 2018
…timemodule.c. (GH-9961)

Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions
(cherry picked from commit 9445118)

Co-authored-by: Max Bélanger <[email protected]>
@maxbelanger maxbelanger deleted the fix-timemodule-macos-availability branch October 26, 2018 23:07
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.

5 participants