Created
October 10, 2015 19:15
-
-
Save jonm/f400c743161ae0cb3657 to your computer and use it in GitHub Desktop.
implicit declaration errors
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
$ 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:163:25: error: implicit declaration of function 'atoi' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
} else if ((port = atoi(argv[pos])) <= 1024) { | |
^ | |
... | |
20 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