[Bug bootstrap/56227] Bootstrap failure on MinGW building ggc-page.c
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 7 01:49:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56227
--- Comment #8 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2013-02-07 01:48:56 UTC ---
On Wed, 6 Feb 2013, ubizjak at gmail dot com wrote:
> > The full line is,
> > internal_error ("resolution sub id " HOST_WIDE_INT_PRINT_HEX_PURE
> > " not in object file", id);
> >
> > Given that it's an internal error, I'm going to do a workaround so it will
> > still build for me.
>
> I don't see anything wrong with the above HOST_WIDE_INT_PRINT_HEX_PURE
> definition. Does this hints and some MinGW specific problem in type checking?
internal_error takes GCC formats, not printf formats.
HOST_WIDE_INT_PRINT_HEX_PURE is a printf format and may not be valid for
direct use in GCC diagnostic functions. You need to use a GCC format such
as %wx here.
More information about the Gcc-bugs
mailing list