[cfe-dev] libc++'s unorderd_map bug?

Howard Hinnant hhinnant at apple.com
Tue Jun 14 07:41:10 PDT 2011


On Jun 14, 2011, at 9:10 AM, oroppas wrote:

> Hi Jonathan,
> Yes. It indeed is PR10087. Both fixes worked.
> Thanks!
> Ryuta

If this crops up for you again, another way to fix this is to disable noexcept in <__config>:

#if 0 //(__has_feature(cxx_noexcept))
#  define _NOEXCEPT noexcept
#  define _NOEXCEPT_(x) noexcept(x)
#else
#  define _NOEXCEPT throw()
#  define _NOEXCEPT_(x)
#endif

Hopefully this will be fixed soon.  I've reassigned the bug to clang:

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

Howard




More information about the cfe-dev mailing list