`fatal error: 'inttypes.h' file not found` when building a simple C++ program
carlescufi opened this issue · comments
Using version 17.0.1, and compiling C programs works just fine.
However, when trying to build a C++ program I get:
/Users/carles/bin/LLVMEmbeddedToolchainForArm-17.0.1-Darwin/lib/clang/17/include/inttypes.h:21:15: fatal error: 'inttypes.h' file not found
21 | #include_next <inttypes.h>
| ^~~~~~~~~~~~
1 error generated.
I was using -nostdinc
, hence the issue.