-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
pystrhex.c does not compile with older clang #148474
Copy link
Copy link
Closed
Labels
buildThe build process and cross-buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
buildThe build process and cross-buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Fields
Give feedbackNo fields configured for issues without a type.
Bug report
Bug description:
Fails with this error:
Newer clangs (circa Xcode 9 and later) apparently auto-convert the 4 on the RHS of the shift operator to a vector. This is easily fixed by doing an explicit splat as is done for other constants in this function.
CPython versions tested on:
3.15
Operating systems tested on:
macOS
Linked PRs