Skip to content

Instantly share code, notes, and snippets.

@jonm
Created October 10, 2015 20:04
Show Gist options
  • Save jonm/98927ef8d8ec5f2639b3 to your computer and use it in GitHub Desktop.
Save jonm/98927ef8d8ec5f2639b3 to your computer and use it in GitHub Desktop.
where is CAN_SEE_OBJ declared?
[~/src/SillyMUD/src]$ make
gcc -g -DIMPL_SECURITY -DNEW_RENT -DLEVEL_LOSS -DNEWEXP -DGROUP_NAMES -Werror -DIMPL_SECURITY -DNEW_RENT -DLEVEL_LOSS -DNEWEXP -DGROUP_NAMES -c -o comm.o comm.c
comm.c:1514:18: error: implicit declaration of function 'CAN_SEE_OBJ' is invalid
in C99 [-Werror,-Wimplicit-function-declaration]
case 'o': i = OBJN(obj, to);
^
./utils.h:239:26: note: expanded from macro 'OBJN'
#define OBJN(obj, vict) (CAN_SEE_OBJ((vict), (obj)) ? \
^
...
3 errors generated.
make: *** [comm.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment