[LLVMbugs] [Bug 17081] New: compilation failure against libsupc++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 3 05:30:18 PDT 2013


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

            Bug ID: 17081
           Summary: compilation failure against libsupc++
           Product: libc++
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: hhinnant at apple.com
          Reporter: llvm-bugzilla at rvanderhoff.org.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11137
  --> http://llvm.org/bugs/attachment.cgi?id=11137&action=edit
compiler errors

Attempting to link libc++ against libsupc++ produces a number of errors about
redefinition of std::bad_typeid::~bad_typeid() and std::bad_cast::~bad_cast()
(see attachment).

It appears that std::bad_cast and std::bad_typeid are provided by libsupc++.

libc++ should either avoid redefining them, or avoid pulling in the definitions
from libsupc++.

(I am using the version of libsupc++ from gcc 4.1.2 which ships with CentOS
5.9; however, I have no reason to believe this problem is limited to that
version).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130903/ea880e55/attachment.html>


More information about the llvm-bugs mailing list