[Webkit-unassigned] [Bug 47799] [gtk] clang build fails in X11/Intrinsic.h due to String name conflict

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 3 11:03:23 PDT 2011


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





--- Comment #9 from Aleksander Balicki <balicki.aleksander at gmail.com>  2011-09-03 11:03:23 PST ---
(In reply to comment #0)
> make[1]: Entering directory `/sources/WebKit'
>   CXX    WebCore/plugins/gtk/libwebkitgtk_1_0_la-PluginViewGtk.lo
> In file included from WebCore/plugins/gtk/PluginViewGtk.cpp:69:
> In file included from WebCore/plugins/gtk/gtk2xtbin.h:44:
> /usr/include/X11/Intrinsic.h:69:15: error: typedef redefinition with different types ('char *' vs 'WTF::String')
> typedef char *String;
>               ^
> In file included from WebCore/plugins/gtk/PluginViewGtk.cpp:30:
> In file included from ./WebCore/plugins/PluginView.h:31:
> In file included from ./WebCore/page/FrameLoadRequest.h:29:
> In file included from ./WebCore/platform/network/soup/ResourceRequest.h:30:
> In file included from ./WebCore/platform/network/ResourceRequestBase.h:31:
> In file included from ./WebCore/platform/network/FormData.h:23:
> In file included from ./WebCore/platform/KURL.h:29:
> In file included from ./WebCore/platform/text/PlatformString.h:28:
> ./JavaScriptCore/wtf/text/WTFString.h:78:7: note: previous definition is here
> class String {
>       ^
> 1 error generated.
> make[1]: *** [WebCore/plugins/gtk/libwebkitgtk_1_0_la-PluginViewGtk.lo] Error 1

and also the same message under clang current-trunk

-- 
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