Bug 14725 - mingw cross compile breaks pdf generation
Summary: mingw cross compile breaks pdf generation
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: win32 backend (show other bugs)
Version: 1.5.11
Hardware: All Windows (All)
: medium normal
Assignee: cairo-bugs mailing list
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 14:49 UTC by Jody Goldberg
Modified: 2008-02-28 15:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Proposed patch against git HEAD (904 bytes, patch)
2008-02-28 14:49 UTC, Jody Goldberg
Details | Splinter Review

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.