[LLVMbugs] [Bug 13463] Installed Mac OS X Mountain Lion, compiling -std=c++11 -stdlib=libc++ fails to find <ostream>

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 26 08:41:39 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13463

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2012-07-26 10:41:39 CDT ---
If you're building Clang from Subversion, you'll need to also get libc++ and
install it's headers relative to the Clang executable you build. Use

touch t.cpp && clang++ -fsyntax-only -stdlib=libc++ -v t.cpp 2>&1 |grep v1 &&
rm t.cpp

to find the directory where libc++'s headers should be installed.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list