Skip to content

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 <yselkowi@redhat.com>
#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 slof@lists.ozlabs.org, 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