Closed adah1972 closed 5 months ago
Workaround: manually add the LLVM17 include directories, like:
cppsafe test.cpp -- -isystem /usr/local/opt/llvm@17/bin/../include/c++/v1 -isystem /usr/local/Cellar/llvm/17.0.6_1/lib/clang/17/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks
So it seems colocating with LLVM installation is more reliable ...
see https://github.com/llvm/llvm-project/issues/69566 for more detail
For a simple test case:
cppsafe gives the following error messages on Ventura: