Skip to content

Instantly share code, notes, and snippets.

@jonm
Created October 3, 2015 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonm/50b0fa5b33172c65c1e8 to your computer and use it in GitHub Desktop.
Save jonm/50b0fa5b33172c65c1e8 to your computer and use it in GitHub Desktop.
handler.c uses "#ifdef 0"
[~/src/SillyMUD/src]$ make
gcc -g -DIMPL_SECURITY -DNEW_RENT -DLEVEL_LOSS -DNEWEXP -DGROUP_NAMES -DIMPL_SECURITY -DNEW_RENT -DLEVEL_LOSS -DNEWEXP -DGROUP_NAMES -c -o handler.o handler.c
...
handler.c:203:8: error: macro names must be identifiers
#ifdef 0
^
...
21 warnings and 1 error generated.
make: *** [handler.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment