[llvm-bugs] [Bug 18179] Including MSVC's <typeinfo> with -D_HAS_EXCEPTIONS=0 causes compiler errors

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 30 13:17:22 PDT 2018


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #7 from Reid Kleckner <rnk at google.com> ---
I would say this is fixed. There is no need to compile with -D_HAS_EXCEPTIONS=0
with clang-cl anymore, which was the only reason we recommended it in the first
place.

Furthermore, I think _HAS_EXCEPTIONS=0 is better supported by modern versions
of the MSVC STL, so you can probably include <typeinfo> with it set today. In
any case, that's not really our bug, our bug was the recommendation to use
-D_HAS_EXCEPTIONS=0 in the first place.

-- 
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/20180830/723a50b9/attachment.html>


More information about the llvm-bugs mailing list