https://llvm.org/bugs/show_bug.cgi?id=13684

Richard Smith <richard-l...@metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |richard-l...@metafoo.co.uk
         Resolution|---                         |FIXED

--- Comment #5 from Richard Smith <richard-l...@metafoo.co.uk> ---
(In reply to comment #4)
> It appears that this bug is still not fixed with clang-700.1.76, shipped
> with Apple LLVM version 7.0.0, but error message slightly differs.
> 
> Undefined symbols for architecture x86_64:
>   "___cxa_deleted_virtual", referenced from:
>       vtable for Base in test-9e36a3.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)

That's user error, unrelated to this bug. You need to use clang++ to link, not
just clang, to link against the relevant C++ standard libraries.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to