/in/foo.c: In function 'main':
/in/foo.c:4:9: error: unknown type name 'bool'
4 | bool flag;
| ^~~~
/in/foo.c:2:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
1 | #include <stdio.h>
+++ |+#include <stdbool.h>
2 | int main(int argc, char **argv) {
/in/foo.c:7:15: error: 'true' undeclared (first use in this function)
7 | while(true) {
| ^~~~
/in/foo.c:7:15: note: 'true' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
/in/foo.c:7:15: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:12:40: error: 'false' undeclared (first use in this function)
12 | flag = false;
| ^~~~~
/in/foo.c:12:40: note: 'false' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?