From: Jonathan Wakely Date: Sat, 16 Mar 2013 20:01:16 +0000 (+0000) Subject: re PR libstdc++/56468 (Clang exposes bug with unexpected forward-declaration of type_... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c49cec93488e1c9ef08bdcd9905df7a64cb4821e;p=gcc.git re PR libstdc++/56468 (Clang exposes bug with unexpected forward-declaration of type_info) PR libstdc++/56468 * libsupc++/exception_ptr.h (type_info): Declare. From-SVN: r196709 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8e4c99c280c..efca94e202d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2013-03-16 Jonathan Wakely + + PR libstdc++/56468 + * libsupc++/exception_ptr.h (type_info): Declare. + 2013-03-16 Jonathan Wakely PR libstdc++/56002 diff --git a/libstdc++-v3/libsupc++/exception_ptr.h b/libstdc++-v3/libsupc++/exception_ptr.h index 7a535f22083..bbf8f85d47b 100644 --- a/libstdc++-v3/libsupc++/exception_ptr.h +++ b/libstdc++-v3/libsupc++/exception_ptr.h @@ -44,6 +44,8 @@ extern "C++" { namespace std { + class type_info; + /** * @addtogroup exceptions * @{ @@ -141,7 +143,7 @@ namespace std operator==(const exception_ptr&, const exception_ptr&) _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); - const class type_info* + const class std::type_info* __cxa_exception_type() const _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); };