This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r148123 - in /branches/gcc-4_4-branch/libstdc++...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Wed, 03 Jun 2009 10:37:32 -0000
- Subject: r148123 - in /branches/gcc-4_4-branch/libstdc++...
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