-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
/home/abuild/rpmbuild/BUILD/yamagi-quake2-ctf-1.10-build/quake2-ctf-1.10/src/menu/../header/shared.h:40:15: error: cannot use keyword ‘false’ as enumeration constant
40 | typedef enum {false, true} qboolean;
| ^~~~~
/home/abuild/rpmbuild/BUILD/yamagi-quake2-ctf-1.10-build/quake2-ctf-1.10/src/menu/../header/shared.h:40:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
Perhaps:
#include <stdbool.h>
typedef bool qboolean;
would do the trick?
Metadata
Metadata
Assignees
Labels
No labels