re PR libstdc++/77944 (FAIL: 20_util/variant/compile.cc (test for excess errors))
authorTim Shen <timshen@google.com>
Fri, 14 Oct 2016 09:58:05 +0000 (09:58 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Fri, 14 Oct 2016 09:58:05 +0000 (09:58 +0000)
PR libstdc++/77944
* include/std/variant: include <bits/funcexcept.h> for __try and __catch.

From-SVN: r241153

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/variant

index cd6ac76..4a052f4 100644 (file)
@@ -1,3 +1,8 @@
+2016-10-14  Tim Shen  <timshen@google.com>
+
+       PR libstdc++/77944
+       * include/std/variant: include <bits/funcexcept.h> for __try and __catch.
+
 2016-10-14  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/std/functional (_Reference_wrapper_base_impl): Remove.
index 48baf9a..314f5f2 100644 (file)
@@ -38,6 +38,7 @@
 #include <type_traits>
 #include <utility>
 #include <bits/enable_special_members.h>
+#include <bits/functexcept.h>
 #include <bits/move.h>
 #include <bits/uses_allocator.h>