We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[ 12s] In file included from ../../src/pdsh/dsh.h:38, [ 12s] from pipecmd.c:43: [ 12s] ../../src/common/macros.h:62:16: error: cannot use keyword ‘false’ as enumeration constant [ 12s] 62 | typedef enum { false, true } bool; [ 12s] | ^~~~~ [ 12s] ../../src/common/macros.h:62:16: note: ‘false’ is a keyword with ‘-std=c23’ onwards [ 12s] ../../src/common/macros.h:62:30: error: expected ‘;’, identifier or ‘(’ before ‘bool’ [ 12s] 62 | typedef enum { false, true } bool; [ 12s] | ^~~~
The text was updated successfully, but these errors were encountered:
Fix build on C23 compiler (gcc >= 15)
01b1a21
'true' and 'false' are proper keywords in C23. This fixes issue chaos#165. Signed-off-by: Egbert Eich <[email protected]>
No branches or pull requests
The text was updated successfully, but these errors were encountered: