FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.11] gh-99337: Fix compile errors with gcc 12 on macOS (GH-99470) by miss-islington · Pull Request #99638 · python/cpython · GitHub

/ cpython Public

[3.11] gh-99337: Fix compile errors with gcc 12 on macOS (GH-99470) - #99638

Merged
ronaldoussoren merged 1 commit into
python:3.11from
miss-islington:backport-cdde29d-3.11
Nov 21, 2022
Merged

[3.11] gh-99337: Fix compile errors with gcc 12 on macOS (GH-99470)#99638
ronaldoussoren merged 1 commit into
python:3.11from
miss-islington:backport-cdde29d-3.11

Conversation

miss-islington commented Nov 21, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Fix a number of compile errors with GCC-12 on macOS:

  1. In pylifecycle.c the compile rejects _Pragma within a declaration
  2. posixmodule.c was missing a number of ..._RUNTIME macros for non-clang on macOS
  3. _ctypes assumed that __builtin_available is always present on macOS
    (cherry picked from commit cdde29d)

Co-authored-by: Ronald Oussoren ronaldoussoren@mac.com

Fix a number of compile errors with GCC-12 on macOS:

1. In pylifecycle.c the compile rejects _Pragma within a declaration
2. posixmodule.c was missing a number of ..._RUNTIME macros for non-clang on macOS
3. _ctypes assumed that __builtin_available is always present on macOS
(cherry picked from commit cdde29d)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL