Displaying 2 results from an estimated 2 matches for "274185".
Did you mean:
27418
2016 Jul 06
3
[cfe-dev] clang++ build from source is not able to find C++ headers
...--show-sdk-path`
>
>
> Otherwise I always end-up having other issues with missing system/platform
> headers.
>
This gives an error for me. Any ideas?
```
Sean:~/pg/llvm % ~/pg/release/bin/clang++ -v -isysroot `xcrun
--show-sdk-path` -fsyntax-only test.cpp
clang version 3.9.0 (trunk 274185) (llvm/trunk 274183)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
InstalledDir: /Users/Sean/pg/release/bin
"/Users/Sean/pg/release/bin/clang-3.9" -cc1 -triple
x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -fsyntax-only -disable-free
-di...
2016 Jun 23
4
[cfe-dev] clang++ build from source is not able to find C++ headers
Hi Vivek,
you can also include these lines below to your ~/.bash_profile:
LLVM_BUILD="/Developer/llvm/build" # Path to your build directory
alias new-clang="$LLVM_BUILD/bin/clang -Wno-expansion-to-defined
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include"
alias new-clang++="$LLVM_BUILD/bin/clang++