Package: libev-dev Version: 1:3.9-1 Severity: important Tags: upstream This simple code does not compile at all:
#include <iostream> #include <ev++.h> class A { public: void func() { std::cout << "HW" << std::endl; } }; int main() { ev::dynamic_loop l; A a; l.once<A, &A::func>(-1 ,0, 0, &a); l.loop(); return 0; } $ g++ -o evtry evtry.cpp -lev In file included from evtry.cpp:2: /usr/include/ev++.h: In static member function ‘static void ev::loop_ref::method_noargs_thunk(int, void*) [with K = A, void (K::* method)() = &A::func]’: /usr/include/ev++.h:283: instantiated from ‘void ev::loop_ref::once(int, int, ev::tstamp, K*) [with K = A, void (K::* method)() = &A::func]’ evtry.cpp:17: instantiated from here /usr/include/ev++.h:289: error: must use ‘.*’ or ‘->*’ to call pointer-to-member function in ‘&A::func (...)’, e.g. ‘(... ->* &A::func) (...)’ -- System Information: Debian Release: 6.0 APT prefers squeeze-updates APT policy: (500, 'squeeze-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32 (SMP w/4 CPU cores) Locale: LANG=hu_HU.utf8, LC_CTYPE=hu_HU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libev-dev depends on: ii libev3 1:3.9-1 high-performance event loop librar libev-dev recommends no packages. libev-dev suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org