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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 24 18:27:51 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25998

           Summary: Build failure: conflicting declaration 'typedef XID
                    Cursor'
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vincent at vinc17.org


When building webkit r44078 under Mac OS X 10.4.11 (with GTK+ using X11
rendering, installed by MacPorts), I get the following error:

libtool: compile:  /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I.
-I./WebKitTools/DumpRenderTree
-I./WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders
-I./WebCore -I./WebCore/bridge -I./WebCore/plugins
-I./WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj -DBUILDING_CAIRO__=1
-DBUILDING_GTK__=1 -DWTF_CHANGES -DWTF_USE_ICU_UNICODE=1 -DNDEBUG
-I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/parser
-I./JavaScriptCore/wtf -I./DerivedSources -I./JavaScriptCore
-I./JavaScriptCore/API -I./JavaScriptCore/ForwardingHeaders
-I./JavaScriptCore/interpreter -I./JavaScriptCore/bytecode
-I./JavaScriptCore/bytecompiler -I./JavaScriptCore/debugger
-I./JavaScriptCore/jit -I./JavaScriptCore/pcre -I./JavaScriptCore/profiler
-I./JavaScriptCore/runtime -I./JavaScriptCore/wrec -I./JavaScriptCore/jit
-I./JavaScriptCore/assembler -I./JavaScriptCore/wtf/unicode
-I./JavaScriptCore/yarr -I./JavaScriptCore/pcre -I./JavaScriptCore/parser
-I./JavaScriptCore/runtime -I/opt/local/include -O2 -O2 -MT
WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin_libtestnetscapeplugin_la-TestNetscapePlugin.lo
-MD -MP -MF
WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/.deps/TestNetscapePlugin_libtestnetscapeplugin_la-TestNetscapePlugin.Tpo
-c WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp 
-fno-common -DPIC -o
WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/.libs/TestNetscapePlugin_libtestnetscapeplugin_la-TestNetscapePlugin.o
/opt/local/include/X11/X.h:108: error: conflicting declaration 'typedef XID
Cursor'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:278:
error: 'Cursor' has a previous declaration as 'typedef struct Cursor Cursor'
make[1]: ***
[WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin_libtestnetscapeplugin_la-TestNetscapePlugin.lo]
Error 1
make: *** [all] Error 2

It seems that Quickdraw.h (that is the cause of the error) is included via

    #include <ApplicationServices/ApplicationServices.h>

in WebCore/bridge/npapi.h.


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



More information about the webkit-unassigned mailing list