From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15476 invoked by alias); 6 Jan 2009 17:03:29 -0000 Received: (qmail 14992 invoked by uid 22791); 6 Jan 2009 17:03:26 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Jan 2009 17:03:21 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n06H3Itn015490; Tue, 6 Jan 2009 12:03:18 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n06H3IGg023415; Tue, 6 Jan 2009 12:03:18 -0500 Received: from opsy.redhat.com (vpn-12-46.rdu.redhat.com [10.11.12.46]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n06H3HZ2010101; Tue, 6 Jan 2009 12:03:17 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id F1828C880EC; Tue, 6 Jan 2009 10:03:15 -0700 (MST) To: Joel Sherrill Cc: "gdb\@sourceware.org" Subject: Re: warning in python-value.c References: <49638841.3050607@oarcorp.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Tue, 06 Jan 2009 17:03:00 -0000 In-Reply-To: <49638841.3050607@oarcorp.com> (Joel Sherrill's message of "Tue\, 6 Jan 2009 10\:35\:13 -0600") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-01/txt/msg00021.txt.bz2 >>>>> "Joel" == Joel Sherrill writes: Joel> I'm seeing this in the cross builds of the gdb trunk to any RTEMS target. Joel> For now, I have disabled the python support to continue. Joel> Any ideas? Joel> cc1: warnings being treated as errors Joel> /n/12/joel/test-gcc/gdb-cvs/src/gdb/python/python-value.c:641: error: Joel> initialization from incompatible pointer type What version of Python do you have? What host are you building on? And what is the most recent entry in gdb/ChangeLog? I think I fixed this yesterday: 2009-01-05 Tom Tromey * python/python-internal.h (Py_ssize_t): Define as int. I was seeing this when building on a 64-bit host against Python 2.4. Tom