This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/56227] Bootstrap failure on MinGW building ggc-page.c
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 09 Feb 2013 08:02:22 +0000
- Subject: [Bug bootstrap/56227] Bootstrap failure on MinGW building ggc-page.c
- Auto-submitted: auto-generated
- References: <bug-56227-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56227
--- Comment #16 from Uros Bizjak <ubizjak at gmail dot com> 2013-02-09 08:02:22 UTC ---
I didn't notice that my backport to 4.7 caused:
../../gcc-svn/branches/gcc-4_7-branch/gcc/lto/lto.c:1060:68: warning: format
â%wxâ expects argument of type âunsigned intâ, but argument 2 has type âlong
unsigned intâ [-Wformat]
However, "%wx" _is_ correct in this case, and it works for 4.8 without
problems.
Joseph, is there some additional magic that has to be added in lto/lto.c for
%wx to pass the check?