Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
-
3
-
9223372036854775807
Description
Avoid "typedef unsigned int bool"
lutf_global_wrap.c:3238:22: error: ‘bool’ cannot be defined via ‘typedef’
3238 | typedef unsigned int bool;
| ^~~~
lutf_global_wrap.c:3238:22: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
lutf_global_wrap.c:3238:1: warning: useless type name in empty declaration
3238 | typedef unsigned int bool;
| ^~~~~~~
Instead include the header to ensure bool is available:
#include <stdbool.h>