From: Jonathan Wakely Date: Sat, 16 Mar 2013 20:22:40 +0000 (+0000) Subject: re PR libstdc++/56468 (Clang exposes bug with unexpected forward-declaration of type_... X-Git-Tag: releases/gcc-4.7.3~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccfde0e23f09d7631ecca594412f8d1f86ee46d0;p=thirdparty%2Fgcc.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: r196711 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 21444d81ba74..282f3204d18c 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 b6fd08e09a87..d9f8cc44a571 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__)); };