[Pixman] Win32 fixes and improvements
ranma42 at gmail.com
Tue Feb 22 14:07:41 PST 2011
In order to make pixman more maintainable on windows, having working
Makefiles for the library and the tests is probably needed. Today I
took the Makefile attached to
and tried to use it to build but it didn't build all the tests because
of some incompatibilities between cl and gcc.
The following patches should make it possible to build pixman and the
entire test suite on Windows from git in a properly configured Cygwin
There are some remaining warnings:
warning C4799: function 'store8888' has no EMMS instruction
warning C4799: function 'to_uint64' has no EMMS instruction
warning C4799: function 'combine' has no EMMS instruction
These are wanrings about some missing MMX registers cleanup. I don't
know if this is required or if the compiler just does not notice that
it is already performed somewhere else.
warning C4715: 'reader' : not all control paths return a value
warning C4715: 'real_reader' : not all control paths return a value
warning C4715: 'calc_op' : not all control paths return a value
These are non-returning functions (abort() / assert(0)). They can be
silenced by adding a return after the termination call, if we aim at a
warning-free build on Windows.
More information about the Pixman