Skip to content

Use native bool from C23 (can’t override it) - #428

Merged
UsernameFodder merged 3 commits into
UsernameFodder:masterfrom
marius851000:fixbool
Oct 24, 2026
Merged

UsernameFodder merged 3 commits into
UsernameFodder:masterfrom
marius851000:fixbool

Conversation

@marius851000

Copy link
Copy Markdown
Contributor

The C23 new bool keyword can’t be overwritten. Given it seems to have the same meaning than the previous manual definition of a bool, just make use of it to make the code compile with C23.

@marius851000

marius851000 commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor Author

checked compilation with c-of-times with both C23 and C17

@UsernameFodder UsernameFodder left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, just need to fix up the comment

Comment thread headers/pmdsky.h Outdated
@UsernameFodder
UsernameFodder merged commit c703845 into UsernameFodder:master Oct 24, 2026
6 checks passed
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