Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py: Explicilty use C99 for preprocessing #615

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

salahcoronya
Copy link
Contributor

GCC 15 uses -std=c23 by default, which causes pycparser to error out with "pycparser.plyparser.ParseError:
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/stddef.h:450:31: before: nullptr_t". As pcyparser only supports completely C99, this shouldn't be an issue.

GCC 15 uses -std=c23 by default, which causes pycparser to error out
with "pycparser.plyparser.ParseError:
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/stddef.h:450:31:
before: nullptr_t". As pcyparser only supports completely C99,
this shouldn't be an issue.

Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
@whooo whooo merged commit 61d00b4 into tpm2-software:master Dec 16, 2024
39 checks passed
@whooo
Copy link
Contributor

whooo commented Dec 16, 2024

Thanks for your contribution!

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.

2 participants