public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39064]  New: libiberty md5.h needs uintptr_t
@ 2009-02-01 16:56 sezeroz at gmail dot com
  2009-02-01 16:57 ` [Bug target/39064] " sezeroz at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: sezeroz at gmail dot com @ 2009-02-01 16:56 UTC (permalink / raw)
  To: gcc-bugs

md5.h of libiberty assumes unsigned long to be of equal size to the size
of a pointer, but that isn't true for all sys tems (ie. win64). this patch
is a workaround for that, probably ugly, but md5.h should include stdint.h
not for _LIBC only..  here is the generated warning:
../../../gcc-svn/libiberty/md5.c: In function 'md5_process_bytes':
../../../gcc-svn/libiberty/md5.c:234: warning: cast from pointer to integer of
different size

(the patch should also be applied to binutils and gdb, or whoever else uses
libiberty)


-- 
           Summary: libiberty md5.h needs uintptr_t
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sezeroz at gmail dot com
GCC target triplet: x86_64-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39064


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <bug-39064-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2013-01-30 17:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-01 16:56 [Bug target/39064] New: libiberty md5.h needs uintptr_t sezeroz at gmail dot com
2009-02-01 16:57 ` [Bug target/39064] " sezeroz at gmail dot com
2009-02-21  9:54 ` ktietz at gcc dot gnu dot org
2009-03-14 15:47 ` nightstrike at gmail dot com
2009-09-03 10:10 ` sezeroz at gmail dot com
     [not found] <bug-39064-4@http.gcc.gnu.org/bugzilla/>
2010-11-17 13:14 ` nightstrike at gmail dot com
2013-01-30 16:51 ` ktietz at gcc dot gnu.org
2013-01-30 16:57 ` ktietz at gcc dot gnu.org
2013-01-30 16:58 ` ktietz at gcc dot gnu.org
2013-01-30 17:00 ` ktietz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).