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

Build fails with gcc-15 / std=c23 #134

Open
heitbaum opened this issue Dec 8, 2024 · 0 comments
Open

Build fails with gcc-15 / std=c23 #134

heitbaum opened this issue Dec 8, 2024 · 0 comments

Comments

@heitbaum
Copy link

heitbaum commented Dec 8, 2024

gcc-15 switched to -std=c23 by default:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212

In file included from common/shell.h:24,
                 from common/cvar.h:26,
                 from common/quakedef.h:33,
                 from common/common.c:34:
common/qtypes.h:37:15: error: expected identifier before 'false'
   37 | typedef enum{ false, true, ENSURE_INT_QBOOL = 0x70000000 } qboolean;
      |               ^~~~~
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

No branches or pull requests

1 participant