[Webkit-unassigned] [Bug 130027] [GLIB] Add GMainLoopSource class to wrap idle and timeout sources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 11 04:31:26 PDT 2014


Csaba Osztrogonác <ossy at webkit.org> changed:

           What    |Removed                     |Added
                 CC|                            |ossy at webkit.org

--- Comment #17 from Csaba Osztrogonác <ossy at webkit.org>  2014-03-11 04:28:21 PST ---
(In reply to comment #15)
> (In reply to comment #12)
> > I don't understand EFL build failures, could it be the compiler version of the EWS bots?
> Looks like you're right. I don't know which GCC version is installed on the bots, but the following snippet works with GCC 4.8.2 and fails with GCC 4.6.3:
>   #include <functional>
>   void f(std::function<void()>) {}
>   void f(std::function<bool()>) {}
>   void g(int) {}
>   void h() {
>       f(std::bind(g, 42));
>   }

This snippet failed for me too with GCC 4.7.2 (default GCC on Ubuntu 12.10):
$ g++ 1.cpp -std=gnu++0x
1.cpp: In function ‘void h()’:
1.cpp:6:23: error: call of overloaded ‘f(std::_Bind_helper<false, void (&)(int), int>::type)’ is ambiguous
1.cpp:6:23: note: candidates are:
1.cpp:2:6: note: void f(std::function<void()>)
1.cpp:3:6: note: void f(std::function<bool()>)

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