Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Fix for conda build error: expected ')' before 'PRIxPTR' #43

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

vlad-penkin
Copy link
Contributor

Conda build on CentOS fails with the error: expected ')' before 'PRIxPTR'. The fix is to add -D__STDC_FORMAT_MACROS flag.

Cython Extension build ignores $CXXFLAGS environment variable (pypa/setuptools#1192), the workaround is to add -D__STDC_FORMAT_MACROS flag to the Extension extra_compile_args.

Conda build on CentOS fails with the `error: expected ')' before 'PRIxPTR'`. The fix is to add -D__STDC_FORMAT_MACROS flag. 

Cython Extension build ignores $CXXFLAGS environment variable (pypa/setuptools#1192), the workaround is to add -D__STDC_FORMAT_MACROS flag to the Extension extra_compile_args.
@alexbaden alexbaden merged commit 8e4dec1 into main Jun 24, 2022
@alexbaden alexbaden deleted the vlad-penkin/conda-cyphon-cxxflags branch June 24, 2022 14:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants