[Webkit-unassigned] [Bug 25998] [GTK] Build failure: conflicting declaration 'typedef XID Cursor'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 15 10:11:03 PDT 2009


--- Comment #9 from David Evans <devans at macports.org>  2009-07-15 10:11:02 PDT ---
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #5)
> Could we define XP_UNIX when building the plugin? Any idea how to not get
> XP_MAC defined? I would pretty much prefer a solution that does not include
> Quickdraw.h and such in the first place.

That would seem to need a wider code review to see what the impact might be.

Currently, the only build problem in this one file.

Note that it is possible to build with GTK+ on the Mac using either the
X11 or native quartz backends, so there may be legitimate needs for QuickDraw
that are not immediately apparent.  

In addition, I believe the Carbon and Applications Services frameworks probably
include QuickDraw indirectly although I haven't verified that as yet.

The namespace conflicts between QuickDraw and X11 are well known in the Apple
world and this fix is not original but is borrowed from usage in the XQuartz
project. As mentioned in the ChangeLog, jeremyhu from that group recommended
the fix in the first place.




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

More information about the webkit-unassigned mailing list