[cairo-bugs] [Bug 30277] Compilation failure due to ffs() when compiling for MinGW

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 2 05:00:32 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30277

--- Comment #7 from Adrian Johnson <ajohnson at redneon.com> 2010-11-02 05:00:30 PDT ---
The "#if defined(__MINGW32__) && !defined(HAVE_FFS)" with the patch from bug
30968 is probably the best option. Could you attach a complete tested patch.

Inclusion of this special case should not be based on __WIN32__ as this case is
compiler specific. This special case should not be enabled for cygwin as cygwin
provides a posix emulation environment which includes the ffs function. In fact
even though the win32 backend can be compiled and run within cygwin, the
version of cairo included with cygwin has the win32 backend disabled. The
cygwin maintainers clearly don't like win32 stuff mixed in with their posix
emulation.

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


More information about the cairo-bugs mailing list