From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30417 invoked by alias); 9 Dec 2009 07:47:09 -0000 Received: (qmail 30406 invoked by uid 22791); 9 Dec 2009 07:47:07 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Dec 2009 07:47:00 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB97ku8a025138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 9 Dec 2009 02:46:56 -0500 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB97ksHP023783; Wed, 9 Dec 2009 02:46:54 -0500 Message-ID: <4B1F55EE.8080603@redhat.com> Date: Wed, 09 Dec 2009 07:47:00 -0000 From: Phil Muldoon User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: Hui Zhu CC: gdb-patches ml , Tom Tromey , Eli Zaretskii Subject: Re: [python][patch] And range method to type References: <4B1929DC.7070809@redhat.com> <4B1A25B0.1090903@redhat.com> <4B1E5F1C.4030202@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-12/txt/msg00125.txt.bz2 > 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. I just did a clean build from a new checkout with CVS and the build completes successfully. What is your version of GCC? For reference, mine is: gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC) I'll initialize the values to appease the differing versions of GCC, and send the patch (as obvious) to the list Cheers, Phil