This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jul 2012 15:53:07 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-53912-4@http.gcc.gnu.org/bugzilla/>
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.