Bug 83984 - webkit-gtk-1.8.0 webkit2 fails to build with gcc-4.5 due to WebKitWebView redefinition
Summary: webkit-gtk-1.8.0 webkit2 fails to build with gcc-4.5 due to WebKitWebView red...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-14 13:05 PDT by Alexandre Rostovtsev
Modified: 2012-04-15 12:14 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev 2012-04-14 13:05:07 PDT
Webkit-gtk-1.8.0 tarball release with --enable-webkit2 fails to build using gcc-4.5.3:

In file included from ./DerivedSources/WebKit2/webkit2gtk/include/webkit2/WebKitPrintOperation.h:29:0,
                 from ./DerivedSources/WebKit2/webkit2gtk/webkit2/WebKitEnumTypes.h:60,
                 from ./DerivedSources/WebKit2/webkit2gtk/include/webkit2/webkit2.h:31,
                 from Tools/MiniBrowser/gtk/BrowserWindow.h:29,
                 from Tools/MiniBrowser/gtk/main.c:28:
./DerivedSources/WebKit2/webkit2gtk/include/webkit2/WebKitWebView.h:51:31: error: redefinition of typedef ‘WebKitWebView’
./DerivedSources/WebKit2/webkit2gtk/include/webkit2/WebKitDefines.h:50:38: note: previous declaration of ‘WebKitWebView’ was here
make: *** [Tools/MiniBrowser/gtk/Programs_MiniBrowser-main.o] Error 1

Builds fine with gcc-4.6.2.
Comment 1 Alexandre Rostovtsev 2012-04-15 12:14:37 PDT
Looks like this was fixed in trunk in r109329

See http://trac.webkit.org/changeset/109329