Created
October 10, 2015 19:35
-
-
Save jonm/411c0659b1582e7db7c2 to your computer and use it in GitHub Desktop.
variable name conflicts with library function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~/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:61:5: error: redefinition of 'reboot' as different kind of symbol | |
int reboot = 0; /* reboot the game after a shutdown */ | |
^ | |
/usr/include/unistd.h:680:6: note: previous definition is here | |
int reboot(int); | |
^ | |
... | |
11 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