This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Mingw64 gnulib troubles
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: <gdb at sourceware dot org>
- Date: Sat, 22 May 2010 00:59:02 +0200
- Subject: Mingw64 gnulib troubles
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