This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]