Bug 114308 - [EFL] build fails with error: missing binary operator before token "("
Summary: [EFL] build fails with error: missing binary operator before token "("
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 113949
  Show dependency treegraph
 
Reported: 2013-04-09 14:15 PDT by Ed Bartosh
Modified: 2013-04-11 13:44 PDT (History)
6 users (show)

See Also:


Attachments
Patch (1.64 KB, patch)
2013-04-09 14:24 PDT, Ed Bartosh
no flags Details | Formatted Diff | Diff
Patch (1.68 KB, patch)
2013-04-09 14:36 PDT, Ed Bartosh
gyuyoung.kim: review-
gyuyoung.kim: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Bartosh 2013-04-09 14:15:30 PDT
With applied this patch https://bugs.webkit.org/attachment.cgi?id=197170 build fails this way:

In file included from /home/ed/git/wk/WebKit/Source/WebKit2/UIProcess/API/efl/EWebKit2.h:36:0,
                 from /home/ed/git/wk/WebKit/Tools/MiniBrowser/efl/main.c:20:
/home/ed/git/wk/WebKit/Source/WebKit2/UIProcess/API/efl/ewk_context_menu.h:34:11: error: missing binary operator before token "("
In file included from /home/ed/git/wk/WebKit/Source/WebKit2/UIProcess/API/efl/ewk_popup_menu_item.h:34:0,
                 from /home/ed/git/wk/WebKit/Source/WebKit2/UIProcess/API/efl/EWebKit2.h:51,
                 from /home/ed/git/wk/WebKit/Tools/MiniBrowser/efl/main.c:20:
/home/ed/git/wk/WebKit/Source/WebKit2/UIProcess/API/efl/ewk_view.h:117:11: error: missing binary operator before token "("
In file included from /home/ed/git/wk/WebKit/Source/WebKit2/UIProcess/API/efl/ewk_popup_menu_item.h:34:0,
                 from /home/ed/git/wk/WebKit/Source/WebKit2/UIProcess/API/efl/EWebKit2.h:51,
                 from /home/ed/git/wk/WebKit/Tools/MiniBrowser/efl/main.c:20:
/home/ed/git/wk/WebKit/Source/WebKit2/UIProcess/API/efl/ewk_view.h:178:11: error: missing binary operator before token "("
Comment 1 Ed Bartosh 2013-04-09 14:24:52 PDT
Created attachment 197176 [details]
Patch
Comment 2 Ed Bartosh 2013-04-09 14:36:14 PDT
Created attachment 197177 [details]
Patch
Comment 3 Gyuyoung Kim 2013-04-10 20:25:54 PDT
Comment on attachment 197177 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=197177&action=review

> Tools/ChangeLog:9
> +        * MiniBrowser/efl/main.c: Included config.h to be able to use ENABLE macro

Where does MiniBrowser use ENABLE macro ?

> Tools/MiniBrowser/efl/main.c:20
> +#include "config.h"

MiniBrowser is sample program. So, MiniBrowser should not use WebKit function except for public APIs
Comment 4 Ed Bartosh 2013-04-11 13:44:43 PDT
Closing as invalid. After latest changes in #11949 this issue is not reproducible.