[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jul 20 15:53:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912
--- Comment #14 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-20 15:53:07 UTC ---
(In reply to comment #9)
> ../../../src/gcc-4.8.0/gcc/tree-dump.c:171:63: error: cast from 'void*' to
> 'long unsigned int' loses precision [-fpermissive]
> fprintf (di->stream, "%-4s: %-8lx ", field, (unsigned long) ptr);
>
> And here?
Use %p in printf templates, without casts.
More information about the Gcc-bugs
mailing list