This is the mail archive of the gcc-patches@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]

Re: [v3] PATCH to libstdc++ for forced unwind handling (c++/28145)


On May 2, 2007, at 11:35 PM, Jason Merrill wrote:
!   // A magic placeholder class that can be caught by reference
!   // to recognize forced unwinding.
!   class __forced_unwind
!   {
!     virtual ~__forced_unwind() throw();
!     virtual void __pure() = 0; // prevent catch by value
!   };

This kills darwin as __pure is defined to be const or attribute ((__const__)).... Could we use __gcc_pure instead?



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