Hello, I have encountered a build failure with GCC 15, due to its adoption of C23 as the default C language version. C23 has 'bool' (and 'true', 'false', and others) as keyword, thus it is not legal to declare 'bool' in the code, see https://gcc.gnu.org/gcc-15/porting_to.html#c23-new-keywords
Fortunately in FreeIPMI, bool is not used as a name of a type, only as a local variable name, so there are no ABI concerns and the fix is trivial - patch attached. I can make a PR on GitHub / freeipmi-mirror if that's preferred. Best regards, Pavel
diff --git a/common/toolcommon/tool-config-file-common.c b/common/toolcommon/tool-config-file-common.c index 609e7a3b3..20dfad512 100644 --- a/common/toolcommon/tool-config-file-common.c +++ b/common/toolcommon/tool-config-file-common.c @@ -78,14 +78,14 @@ _config_file_bool (conffile_t cf, void *app_ptr, int app_data) { - int *bool; + int *value; assert (data); assert (optionname); assert (option_ptr); - bool = (int *)option_ptr; - *bool = data->boolval; + value = (int *)option_ptr; + *value = data->boolval; return (0); }