Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Mingw64 gnulib troubles
@ 2010-05-21 22:59 Pierre Muller
  2010-05-21 23:11 ` Pedro Alves
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Muller @ 2010-05-21 22:59 UTC (permalink / raw)
  To: gdb

  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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-23  1:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-21 22:59 Mingw64 gnulib troubles Pierre Muller
2010-05-21 23:11 ` Pedro Alves
2010-05-21 23:27   ` Pierre Muller
2010-05-23  1:40     ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox