Re: Warning while building for win64

2009-06-25 Thread NightStrike
On Tue, Jun 23, 2009 at 3:39 AM, Nick Cliftonni...@redhat.com wrote:
 Hi,

 NightStrike wrote:

 When building a binutils where host=target=x86_64-w64-mingw32, I see
 the following warnings that should be cleaned up:

 ../../src/libiberty/md5.c: In function ‘md5_process_bytes’:
 ../../src/libiberty/md5.c:234:11: warning: cast from pointer to
 integer of different size

 Problems with the libiberty library should be forwarded to the
 gcc-bugs@gcc.gnu.org list rather than here.  Mind you the libiberty
 maintainers do also happen to read this list, so you may well get a response
 to the actual problem.  But officially the correct list to use is the
 gcc-bugs list.

Thanks for the update.  Replying to gcc-bugs instead.

Can anyone on this new list help?


Re: Warning while building for win64

2009-06-25 Thread DJ Delorie

This is a special case because all the logic has to be done in md5.c
as preprocessor macros.  You'd need someone familiar with the platform
(Chris, Danny, Kai) to specify a reliable way to detect that platform
and/or define the types accordingly.  If it can typedef md5_uintptr
directly, or use the _LIBC clause, that would be best.