This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]