This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [rfc/cp] method stub assertions


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


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