[LLVMbugs] [Bug 12707] New: GCC 4.6.3's libstdc++ compile error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 30 12:33:02 PDT 2012


             Bug #: 12707
           Summary: GCC 4.6.3's libstdc++ compile error
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: vanboxem.ruben at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

With this up to date build of Windows Clang:

Which is GCC 4.6.3 with Clang r155821. Test code:
#include <memory>

int main(){}

Compiling with -std=c++0x gives this error:
In file included from bug.cpp:1:
In file included from
error: no matching function for call to '_S_destroy'
note: candidate template ignored: substitution failure [with _Rm =
      _S_destroy(_Rm* __mx)
note: candidate template ignored: substitution failure [with _Rm =
      _S_destroy(_Rm* __mx)
note: candidate template ignored: substitution failure [with _Rm =
      _S_destroy(_Rm* __mx)
1 error generated.

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