Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: <gdb@sourceware.org>
Subject: Mingw64 gnulib troubles
Date: Fri, 21 May 2010 22:59:00 -0000	[thread overview]
Message-ID: <001c01caf939$34cd6ad0$9e684070$@muller@ics-cnrs.unistra.fr> (raw)

  compilation of 64-bit windows GDB
with mingw64 generates lots of
warnings about cast from 64-bit pointers
to 32-bit integers.

  This is because the code in gnulib 
uses "long int" types and supposes
that this is enough to hold a pointer.
  This is not true for windows-64 bit 
for which "long int" still is a 32-bit type.

  How can we solve this issue?
  Could we use intptr_t and uintptr_t types?


Pierre Muller
Pascal language support maintainer for GDB




             reply	other threads:[~2010-05-21 22:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 22:59 Pierre Muller [this message]
2010-05-21 23:11 ` Pedro Alves
2010-05-21 23:27   ` Pierre Muller
2010-05-23  1:40     ` Pedro Alves

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='001c01caf939$34cd6ad0$9e684070$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=gdb@sourceware.org \
    /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