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 cd6ac761d1b58b861e83f59579379da19a0a626f..4a052f4dd5309323997aa96f14ab2450d5043778 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 48baf9a33c481a5c7ca9a8be210f6957f5bba3dc..314f5f2f7f12c45e6a298148a4b6c94bed8a6a49 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>