Skip to content

libc: fix build in C23 mode #5

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

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

Conversation

yselkowitz
Copy link

GCC 15 defaults to C23, in which bool, true, and false are keywords.

GCC 15 defaults to C23, in which bool, true, and false are keywords.

Signed-off-by: Yaakov Selkowitz <[email protected]>
@@ -13,7 +13,7 @@
#ifndef _STDBOOL_H
#define _STDBOOL_H

#ifndef __cplusplus
#if !defined(__cplusplus) && __STDC_VERSION__ < 202311L
Copy link
Owner

Choose a reason for hiding this comment

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

Post it in [email protected], I wonder if we are better off with forcing some older standard instead.

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