This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2009 10:37:48 -0000
- Subject: [Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons
- References: <bug-40296-5876@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from paolo at gcc dot gnu dot org 2009-06-03 10:37 -------
Subject: Bug 40296
Author: paolo
Date: Wed Jun 3 10:37:32 2009
New Revision: 148123
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148123
Log:
2009-06-03 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/40296
* libsupc++/exception_ptr.h (exception_ptr::operator!,
exception_ptr::operator __safe_bool): Only declare when
_GLIBCXX_EH_PTR_COMPAT is undefined.
* libsupc++/eh_ptr.cc: Define _GLIBCXX_EH_PTR_COMPAT before including
exception_ptr.
* testsuite/18_support/exception_ptr/40296.cc: New.
* testsuite/18_support/exception_ptr/current_exception.cc: Adjust.
Added:
branches/gcc-4_4-branch/libstdc++-v3/testsuite/18_support/exception_ptr/40296.cc
Modified:
branches/gcc-4_4-branch/libstdc++-v3/ChangeLog
branches/gcc-4_4-branch/libstdc++-v3/libsupc++/eh_ptr.cc
branches/gcc-4_4-branch/libstdc++-v3/libsupc++/exception_ptr.h
branches/gcc-4_4-branch/libstdc++-v3/testsuite/18_support/exception_ptr/current_exception.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40296