Please fix SSIZE_T definition on win32

Igor Stasenko <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAEYrNzARSBRcUS+v3ZiQrQp-nn6CCrwZA3nw7iYd6v4Cr2oS1A@mail.gmail.com>
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.
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.