[python][patch] And range method to type

Eli Zaretskii eliz@gnu.org
Wed Dec 9 11:27:00 GMT 2009


> Date: Wed, 09 Dec 2009 07:46:54 +0000
> From: Phil Muldoon <pmuldoon@redhat.com>
> CC: gdb-patches ml <gdb-patches@sourceware.org>,         Tom Tromey <tromey@redhat.com>, Eli Zaretskii <eliz@gnu.org>
> 
> 
> > I make the cvs-head get:
> 
> > cc1: warnings being treated as errors
> > ../../src/gdb/python/py-type.c: In function 'typy_range':
> > ../../src/gdb/python/py-type.c:285: warning: 'high' may be used
> > uninitialized in this function
> > ../../src/gdb/python/py-type.c:285: warning: 'low' may be used
> > uninitialized in this function
> 
> I do not see this on my build at all.

Are you compiling without optimizations, per chance?  AFAIK, this
warning is only produced in optimized compilations.



More information about the Gdb-patches mailing list