[cairo-bugs] [Bug 10209] Cairo 1.4.0 generates invalid PDF files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 7 11:49:31 PST 2007


------- Comment #5 from freedesktop at behdad.org  2007-03-07 11:49 PST -------
Because you are on a x86_64 system, with sizeof(int)!=sizeof(void*), and you
are not including cairo-pdf.h, so cairo_pdf_surface_create() is not prototyped
and assumed to return an int.  So you get the following warning:

test.c: In function ‘main’:
test.c:6: warning: initialization makes pointer from integer without a cast

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the cairo-bugs mailing list