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

git-changebar: Rename bool for C23 compatibility #1389

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cjmayo
Copy link
Contributor

@cjmayo cjmayo commented Nov 25, 2024

C23 is adding a bool keyword:

https://en.cppreference.com/w/c/keyword/bool

With GCC 15 (in development, bug fixing) this causes a failure: error: expected identifier or '(' before 'bool'

@cjmayo cjmayo force-pushed the git-changebar-bool branch from 6fb7b7b to f1148d5 Compare November 25, 2024 19:41
@cjmayo cjmayo changed the title git-changebar: Rename variable bool for C23 compatibility git-changebar: Rename bool for C23 compatibility Nov 25, 2024
@b4n b4n self-assigned this Nov 25, 2024
@b4n
Copy link
Member

b4n commented Nov 25, 2024

Sounds silly that C23 didn't make it a tad more backward compatible, but the changes look OK from afar, I'll try to test this.

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