Skip to content

Instantly share code, notes, and snippets.

@jonm
Created October 4, 2015 01:29
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/ba0bae2d58d33b487955 to your computer and use it in GitHub Desktop.
Save jonm/ba0bae2d58d33b487955 to your computer and use it in GitHub Desktop.
`utility.c` also has an `#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 utility.o utility.c
...
utility.c:879:8: error: macro names must be identifiers
#ifdef 0 /* removed 6/13, this was ridiculous */
^
...
12 warnings and 1 error generated.
make: *** [utility.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment