Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Joel Sherrill <joel.sherrill@oarcorp.com>
Cc: "gdb\@sourceware.org" <gdb@sourceware.org>
Subject: Re: warning in python-value.c
Date: Tue, 06 Jan 2009 17:03:00 -0000	[thread overview]
Message-ID: <m3d4f0fju4.fsf@fleche.redhat.com> (raw)
In-Reply-To: <49638841.3050607@oarcorp.com> (Joel Sherrill's message of "Tue\, 6 Jan 2009 10\:35\:13 -0600")

>>>>> "Joel" == Joel Sherrill <joel.sherrill@oarcorp.com> 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  <tromey@redhat.com>

	* 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


  reply	other threads:[~2009-01-06 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-06 16:35 Joel Sherrill
2009-01-06 17:03 ` Tom Tromey [this message]
2009-01-06 17:24   ` Joel Sherrill
2009-01-06 18:12     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d4f0fju4.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=joel.sherrill@oarcorp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox