RESOLVED DUPLICATE of bug 127496 127549
[WK2][EFL] Fix a build break on debug mode
https://bugs.webkit.org/show_bug.cgi?id=127549
Summary [WK2][EFL] Fix a build break on debug mode
Gyuyoung Kim
Reported 2014-01-24 01:36:44 PST
There are below build error when building WK2 EFL on debug mode. It looks we need to use static_cast<uint64_t> for the SessionTracker's const variables. [ 86%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/WebPage/WebPage.cpp.o /home/gyuyoung/webkit/WebKit/Source/WebKit2/WebProcess/WebPage/WebPage.cpp:617:26: warning: unused parameter ‘frame’ [-Wunused-parameter] /home/gyuyoung/webkit/WebKit/Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2090:6: warning: unused parameter ‘isInitialState’ [-Wunused-parameter] Linking CXX shared library ../../lib/libewebkit2.so CMakeFiles/WebKit2.dir/WebProcess/WebPage/WebPage.cpp.o: In function `WebKit::WebPage::sessionID() const': /home/gyuyoung/webkit/WebKit/Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2132: undefined reference to `WebKit::SessionTracker::legacyPrivateSessionID' /home/gyuyoung/webkit/WebKit/Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2132: undefined reference to `WebKit::SessionTracker::defaultSessionID' collect2: error: ld returned 1 exit status make[2]: *** [lib/libewebkit2.so.0.1.0] Error 1
Attachments
Patch (1.50 KB, patch)
2014-01-24 01:39 PST, Gyuyoung Kim
andersca: review+
Gyuyoung Kim
Comment 1 2014-01-24 01:39:04 PST
Csaba Osztrogonác
Comment 2 2014-01-24 03:50:01 PST
I already have a fix for it: https://bugs.webkit.org/show_bug.cgi?id=127496 A little bit different solution, but both of them work.
Gyuyoung Kim
Comment 3 2014-01-24 03:51:59 PST
(In reply to comment #2) > I already have a fix for it: https://bugs.webkit.org/show_bug.cgi?id=127496 > A little bit different solution, but both of them work. Looks better solution than me !
Gyuyoung Kim
Comment 4 2014-01-24 03:55:04 PST
*** This bug has been marked as a duplicate of bug 127496 ***
Note You need to log in before you can comment on or make changes to this bug.