Mingw64 gnulib troubles

Pierre Muller
2010-05-21T22:59:02Z

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