Bug in C++ wrapper

Marc Lehmann schmorp at schmorp.de
Tue Sep 9 23:53:32 CEST 2014


On Tue, Sep 09, 2014 at 04:16:20PM +0200, Raphael 'kena' Poss <r.poss at uva.nl> wrote:
> Clang 3.5 with the same flags confirmed the error too.

Thanks - turned out that you simply can't use typedefs for function pointers
in C++, as throw() cannot be specified anywhere, but still makes types
assignment-incompatible.

I just checked in another attempt to fix it, by simply spelling out the
typedef in all relevant places. It should work with clang-3.5 now, too.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list