Created
October 3, 2015 19:54
-
-
Save jonm/d7d2b2115bc9e4ed45c3 to your computer and use it in GitHub Desktop.
Error describing a duplicated/conflicting declaration.
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 -DIMPL_SECURITY -DNEW_RENT -DLEVEL_LOSS -DNEWEXP -DGROUP_NAMES -c -o comm.o comm.c | |
In file included from comm.c:21: | |
./protos.h:21:7: error: conflicting types for 'strdup' | |
char *strdup(char *source); | |
^ | |
/usr/include/string.h:117:7: note: previous declaration is here | |
char *strdup(const char *); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment