[llvm-bugs] [Bug 34103] libc++abi doesn't build with -std=c++17

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 7 07:03:09 PDT 2017


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

Marshall Clow (home) <mclow.lists at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED
           Assignee|unassignedbugs at nondot.org   |mclow.lists at gmail.com

--- Comment #1 from Marshall Clow (home) <mclow.lists at gmail.com> ---
Nico - This is going to stay this way.  

libcxxabi provides services to C++ programs compiled with all language
versions. If we removed unexpected_handler (and uncaught exception, etc), then
programs built with -std=c++11 (for example) would fail to link, and already
built programs would fail to launch, with an "unresolved external reference"
error.

Until we're ready to say "You can only run programs compiled with -std=c++17 or
later" on a given system, we have to keep this code around.

We might want to add something to the build system to give a message if someone
tries to build with C++17 or later, though.

-- 
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/20170807/17acb2db/attachment-0001.html>


More information about the llvm-bugs mailing list