This is the mail archive of the gdb-patches@sourceware.org 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: [python][patch] And range method to type


> 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.


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