Hmm, something defines SIGNAL as a macro, when it shouldn't.

Thanks a lot for this hint. Today I fell into the same trap, only it was not SIGNAL but EMBED (at ev++.h:79; my libev version is 4.04).

I was cross-compiling my program for uClinux whose build system always adds -DEMBED to CPPFLAGS (and I didn't pay attention to that at first). This can't be changed, so I had to place #undef EMBED right before #include <ev++.h> to make things work again.

Though as I'm looking at the other enum values there I wonder if they really have to be in all capitals...

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to