This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc/cp] method stub assertions
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec dot gnu at mindspring dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 4 Jan 2004 21:33:42 -0500
- Subject: Re: [rfc/cp] method stub assertions
- References: <20040105023200.112BF4B35A@berman.michael-chastain.com>
On Sun, Jan 04, 2004 at 09:32:00PM -0500, Michael Chastain wrote:
> > ! struct type *basetype =
> > ! basetype = TYPE_TARGET_TYPE (VALUE_TYPE (arg2));
>
> Argh! But the compilers didn't error out.
> I wonder if that is legal Ansi C?
Yes and no. Semantically valid, value undefined, IIRC. It's part of a
really hideous GCC extension for disabling uninitialized use warnings.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer