In C23 "bool" became a keyword, which makes the typedef int bool
in /usr/include/id3/globals.h invalid. It is already excluded if __cplusplus
is defined. It also needs to be excluded if __STDC_VERSION__
is defined and greater than or equal to 202311L
.
bool defined is not compatible with bool predefined in C23.
Thus, a simple exclusion cannot be applied as it could break other programs that use id3lib.
A new my_bool must be defined.