Tens of millions of errors are reported. My error is that during clang compilation, do not pass in the header file, but use – I/xxx to pass in the header file path
Error demonstration
clang -o out main.c ./dir/xxx.h
Correct practice
clang -o out main.c -I./dir