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 Mon, May 07, 2007 at 05:48:42PM -0700, Mike Stump wrote:
> 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?

Could this be mentioned in libstdc++-v3/docs/html/17_intro/BADNAMES, or
is that file so far out of date as to not be worth updating?  (If that's
the case, it should probably be scrapped.)

-- 
Behind everything some further thing is found, forever; thus the tree behind
the bird, stone beneath soil, the sun behind Urth.  Behind our efforts, let
there be found our efforts.
              - Ascian saying, as related by Loyal to the Group of Seventeen


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