[LLVMbugs] [Bug 13463] New: 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
Wed Jul 25 21:09:27 PDT 2012


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

             Bug #: 13463
           Summary: Installed Mac OS X Mountain Lion, compiling -std=c++11
                    -stdlib=libc++ fails to find <ostream>
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nickwalters99 at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I just upgraded my machine to Mac OS X Mountain Lion and pulled in the latest
LLVM/Clang from the trunk, built Clang, now I am trying to compile a simple
source file with the version of Clang I just built in which I am including:

#include <ostream>

Am compiling with:

mml++ -O3 -m32 -std=c++11 -stdlib=libc++ -I../Library -MM
../../Library/Test.cpp

which indirectly includes ostream. I am getting:

...: fatal error: 'ostream' file not found.

I am somewhat familiar with how Clang finds the proper include paths and could
modify this myself, but I thought I would inform you that there is a potential
problem. Thanks,

Nick

-- 
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