[cairo-bugs] [Bug 47839] New: Namespace conflict due to "_write" while compiling for MinGW target
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Mar 25 05:18:43 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=47839
Bug #: 47839
Summary: Namespace conflict due to "_write" while compiling for
MinGW target
Classification: Unclassified
Product: cairo
Version: 1.12.0
Platform: Other
OS/Version: Windows (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: cworth at cworth.org
ReportedBy: cazfi74 at gmail.com
QAContact: cairo-bugs at cairographics.org
Compiling cairo-1.12.0 for MinGW target errors:
src/cairo-1.12.0/test/any2ppm.c:126: error: conflicting types for ‘_write’
/usr/i586-mingw32msvc/include/io.h:253: error: previous declaration of ‘_write’
was here
It seems that "_write" is defined in public MinGW headers. Renaming cairo side
_write fixes allows compilation to proceed.
--
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