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 regression/18246] struct-layout-1 generator broken on i686-pc-mingw32


------- 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


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