Skip to content

[3.12] gh-105059: Use GCC/clang extension for PyObject union (GH-107232) - #107236

Merged
vstinner merged 1 commit into
python:3.12from
miss-islington:backport-6261585-3.12
Jul 25, 2023
Merged

vstinner merged 1 commit into
python:3.12from
miss-islington:backport-6261585-3.12

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 25, 2023 •

Copy link
Copy Markdown
Contributor

Anonymous union is new in C11. To prevent compiler warning
when using -pedantic compiler option, use Clang and GCC
extension on C99 and older.
(cherry picked from commit 6261585)

Co-authored-by: Victor Stinner vstinner@python.org

…-107232)

Anonymous union is new in C11. To prevent compiler warning
when using -pedantic compiler option, use Clang and GCC
extension on C99 and older.
(cherry picked from commit 6261585)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants