This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]