https://bugs.llvm.org/show_bug.cgi?id=45880
Bug ID: 45880
Summary: regression: locally-built Clang can't find C++ stdlib
headers on Mac
Product: new-bugs
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Created attachment 23468
--> https://bugs.llvm.org/attachment.cgi?id=23468&action=edit
patch
On macOS with Xcode:
- check out clang from git master
- build with Xcode's AppleClang as per https://clang.llvm.org/get_started.html
- use resulting build to compile a Hello World C++ program (anything that
#includes an STL header file)
Expected:
- for the STL header files that Xcode already provides to be found
Actual:
- compiler error, for example: "fatal error: 'string' file not found"
This used to work. I'm not sure when it broke, I think it was in the svn to
git switch.
It's been discussed on cfe-dev, I'm not alone in having this happen:
http://lists.llvm.org/pipermail/cfe-dev/2019-September/063394.html
List member Jens Jorgensen shared a patch, see attached. It works for me, but
I have no idea if it's fit to commit.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs