This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove warning in unwind-d2-fde.h
- From: Geoff Keating <geoffk at geoffk dot org>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: aj at suse dot de, gcc-patches at gcc dot gnu dot org
- Date: 09 Jan 2003 12:48:23 -0800
- Subject: Re: Remove warning in unwind-d2-fde.h
- References: <u8ptrjgye8.fsf@gromit.moeb> <20030109030651.GF3100@redhat.com><200301090348.WAA16916@caip.rutgers.edu>
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
> > From: Richard Henderson <rth at redhat dot com>
> >
> > On Mon, Dec 30, 2002 at 07:22:23PM +0100, Andreas Jaeger wrote:
> > > * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
> >
> > No, look at the logs -- this is not accepted by C++.
> > r~
>
> Hmm... luckily, I believe Mark fixed this in the new parser here:
> http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00097.html
>
> However the 3.3. branch doesn't seem to have had this one-liner
> backported to it. If it's also this easy in the old parser, we may as
> well enable it there too.
>
> --Kaveh
>
> PS: remind me please why unwind-dw2-fde.h needs to be compiled with g++?
It gets used in libstdc++-v3, from unwind-cxx.h. However, I don't
think last_fde is used there.
--
- Geoffrey Keating <geoffk@geoffk.org>