Bug 14725

Summary: mingw cross compile breaks pdf generation
Product: cairo Reporter: Jody Goldberg <jody>
Component: win32 backendAssignee: cairo-bugs mailing list <cairo-bugs>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.5.11   
Hardware: All   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Proposed patch against git HEAD

Description Jody Goldberg 2008-02-28 14:49:15 UTC
Created attachment 14668 [details] [review]
Proposed patch against git HEAD

The use of  #ifdef _MSC_VER to select _snprintf in place of snprintf does not kick in when cross compiling.  As a result all "%ld" arguments get misprinted.  The proposed patch fixes things.
Comment 1 Carl Worth 2008-02-28 15:26:36 UTC
Thanks for the fix!

This is in place now, (in 1.5.11 and just before the 1.5.12 snapshot and eventual 1.6.0 release).

-Carl

http://gitweb.freedesktop.org/?p=cairo;a=commitdiff;h=4c7784e91eb953b905f187dda2a76dc102d73d01;

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.