Bug#613116: libev-dev: c++ compilation problem

2012-08-14 Thread Stefan Bühler
Hi,

looks like it got fixed:

http://cgit.lighttpd.net/libev.git/commit/ev++.h?id=0c56dcc65f038fe37c790397251f1317aed7539c

Don't ask me how to look that up in the upstream cvs :P

And ofc no commit message, as usual.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#613116: libev-dev: c++ compilation problem

2011-02-12 Thread Richard Kojedzinszky
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.onceA, 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  libev31:3.9-1high-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