[cairo] Please fix SSIZE_T definition on win32
Igor Stasenko
siguctua at gmail.com
Tue Oct 23 05:47:01 PDT 2012
Hi, i building cairo on msys-mingw windows7 32 bit.
Searching mail archives, i found this error was reported before:
http://lists.cairographics.org/archives/cairo/2012-May/023057.html
I thought that maybe updating library version (from 1.12.2 to 1.12.6)
will fix this issue.. as the Maarten says "Try using the latest cairo
release, where this is already fixed."
But it is not.. I having same error:
In file included from strndup.c:31:0:
cairo-missing.h:45:17: error: conflicting types for 'ssize_t'
c:\mingw\bin\../lib/gcc/mingw32/4.6.1/../../../../include/sys/types.h:118:18:
note: previous declaration of 'ssize_t' was here
So i have to manually add
echo "#define _SSIZE_T_DEFINED 1" >> config.h
in my build script, to make it work.
Btw, is there a way to tell configure script (or make) to avoid
building boilerplate & utils
but just a library?
--
Best regards,
Igor Stasenko.
More information about the cairo
mailing list