Skip to content

Instantly share code, notes, and snippets.

@deoxxa
Created January 8, 2011 16:17
Show Gist options
  • Save deoxxa/770947 to your computer and use it in GitHub Desktop.
Save deoxxa/770947 to your computer and use it in GitHub Desktop.
In file included from mineserver.cpp:55:
In file included from ./mineserver.h:43:
In file included from ./plugin.h:49:
./hook.h:1032:11: error: invalid argument type 'void' to unary expression
if (!((ftype)*ia)(a1, a2, a3, a4, a5, a6, a7))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./hook.h:1051:12: note: in instantiation of member function 'Hook7<void, User *, int, signed char, int, int, signed char, int>::doUntilFalse' requested here
return doUntilFalse(a1, a2, a3, a4, a5, a6, a7);
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment