Author: ericwf Date: Thu Feb 16 22:26:22 2017 New Revision: 295411 URL: http://llvm.org/viewvc/llvm-project?rev=295411&view=rev Log: Fix test_exception_storage.pass.cpp in C++17 my re-enabling the unexpected handlers
Modified: libcxxabi/trunk/test/test_exception_storage.pass.cpp Modified: libcxxabi/trunk/test/test_exception_storage.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/test_exception_storage.pass.cpp?rev=295411&r1=295410&r2=295411&view=diff ============================================================================== --- libcxxabi/trunk/test/test_exception_storage.pass.cpp (original) +++ libcxxabi/trunk/test/test_exception_storage.pass.cpp Thu Feb 16 22:26:22 2017 @@ -7,6 +7,10 @@ // //===----------------------------------------------------------------------===// +// FIXME: cxa_exception.hpp directly references `std::unexpected` and friends. +// This breaks this test when compiled in C++17. For now fix this by manually +// re-enabling the STL functions. +#define _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS #include "../src/config.h" #include <cstdlib> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits