[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
http://llvm.org/bugs/show_bug.cgi?id=12707
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:
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/experimental/i686-w64-mingw32-clang-3.1_rubenvb.7z/download
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
M:/Development/mingw32/bin\..\lib\clang\3.1/../../../include/c++/4.6.3\memory:75:
M:/Development/mingw32/bin\..\lib\clang\3.1/../../../include/c++/4.6.3\ext/concurrence.h:228:2:
error: no matching function for call to '_S_destroy'
_S_destroy(&_M_mutex);
^~~~~~~~~~
M:/Development/mingw32/bin\..\lib\clang\3.1/../../../include/c++/4.6.3\ext/concurrence.h:273:7:
note: candidate template ignored: substitution failure [with _Rm =
__gthread_recursive_mutex_t]
_S_destroy(_Rm* __mx)
^
M:/Development/mingw32/bin\..\lib\clang\3.1/../../../include/c++/4.6.3\ext/concurrence.h:282:7:
note: candidate template ignored: substitution failure [with _Rm =
__gthread_recursive_mutex_t]
_S_destroy(_Rm* __mx)
^
M:/Development/mingw32/bin\..\lib\clang\3.1/../../../include/c++/4.6.3\ext/concurrence.h:290:7:
note: candidate template ignored: substitution failure [with _Rm =
__gthread_recursive_mutex_t]
_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