[Bug regression/18246] struct-layout-1 generator broken on i686-pc-mingw32
dannysmith at users dot sourceforge dot net
gcc-bugzilla@gcc.gnu.org
Sun Oct 31 08:01:00 GMT 2004
------- Additional Comments From dannysmith at users dot sourceforge dot net 2004-10-31 08:01 -------
MSVC printf does not grok %ll formatting spec, but interprets that as single %l,
Try using a replacement printf or change all occurences of %ll to %I64.
This problem (and a hack to fix within gcc) has been reported earlier
http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01479.html
but the hack is a maintenance burden since we have to keep monitoring for usage
of %ll and add a -Wno-format for these modules While testing I have done the
lazy thing and just replaced printf/scanf functions with ones that understand %
ll
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18246
More information about the Gcc-bugs
mailing list