Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C02Y204JJ1GC:untitled folder warnerj$ make
- cc -g -c genwin.c
- In file included from genwin.c:8:
- ./genwin.h:150:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern closedbase();
- ~~~~~~ ^
- ./genwin.h:153:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern closeseq();
- ~~~~~~ ^
- ./genwin.h:156:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern shiftwin(), closewin();
- ~~~~~~ ^
- ./genwin.h:156:20: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern shiftwin(), closewin();
- ~~~~~~ ^
- ./genwin.h:158:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern compon(), stateon(), enton();
- ~~~~~~ ^
- ./genwin.h:158:18: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern compon(), stateon(), enton();
- ~~~~~~ ^
- ./genwin.h:158:29: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern compon(), stateon(), enton();
- ~~~~~~ ^
- ./genwin.h:162:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern closemat();
- ~~~~~~ ^
- ./genwin.h:164:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern upper(), lower(), findchar();
- ~~~~~~ ^
- ./genwin.h:164:17: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern upper(), lower(), findchar();
- ~~~~~~ ^
- ./genwin.h:164:26: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern upper(), lower(), findchar();
- ~~~~~~ ^
- genwin.c:61:1: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- genwininit()
- ^
- genwin.c:81:2: error: non-void function 'genwininit' should return a value
- [-Wreturn-type]
- return;
- ^
- genwin.c:93:8: warning: implicit declaration of function 'blastdb' is invalid in
- C99 [-Wimplicit-function-declaration]
- if (blastdb(name))
- ^
- genwin.c:95:41: warning: implicitly declaring library function 'strlen' with
- type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
- dbase->filename = (char *) malloc(strlen(blastdir)+strlen(name)+1);
- ^
- genwin.c:95:41: note: include the header <string.h> or explicitly provide a
- declaration for 'strlen'
- genwin.c:97:7: warning: implicitly declaring library function 'strcpy' with type
- 'char *(char *, const char *)' [-Wimplicit-function-declaration]
- strcpy(dbase->filename, blastdir);
- ^
- genwin.c:97:7: note: include the header <string.h> or explicitly provide a
- declaration for 'strcpy'
- genwin.c:98:7: warning: implicitly declaring library function 'strcat' with type
- 'char *(char *, const char *)' [-Wimplicit-function-declaration]
- strcat(dbase->filename, name);
- ^
- genwin.c:98:7: note: include the header <string.h> or explicitly provide a
- declaration for 'strcat'
- genwin.c:110:8: warning: implicitly declaring library function 'strcmp' with
- type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
- if (strcmp(dbase->filename, "-")==0)
- ^
- genwin.c:110:8: note: include the header <string.h> or explicitly provide a
- declaration for 'strcmp'
- genwin.c:144:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern closedbase(dbase)
- ~~~~~~ ^
- genwin.c:153:4: error: non-void function 'closedbase' should return a value
- [-Wreturn-type]
- return;
- ^
- genwin.c:185:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern closeseq(seq)
- ~~~~~~ ^
- genwin.c:189:19: error: non-void function 'closeseq' should return a value
- [-Wreturn-type]
- if (seq==NULL) return;
- ^
- genwin.c:199:4: error: non-void function 'closeseq' should return a value
- [-Wreturn-type]
- return;
- ^
- genwin.c:319:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern closewin(win)
- ~~~~~~ ^
- genwin.c:323:19: error: non-void function 'closewin' should return a value
- [-Wreturn-type]
- if (win==NULL) return;
- ^
- genwin.c:331:4: error: non-void function 'closewin' should return a value
- [-Wreturn-type]
- return;
- ^
- genwin.c:336:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern compon(win)
- ~~~~~~ ^
- genwin.c:353:2: error: non-void function 'compon' should return a value
- [-Wreturn-type]
- return;
- ^
- genwin.c:364:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern stateon(win)
- ~~~~~~ ^
- genwin.c:384:2: error: non-void function 'stateon' should return a value
- [-Wreturn-type]
- return;
- ^
- genwin.c:389:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern enton(win)
- ~~~~~~ ^
- genwin.c:397:4: error: non-void function 'enton' should return a value
- [-Wreturn-type]
- return;
- ^
- genwin.c:510:9: warning: implicit declaration of function 'readhdr' is invalid
- in C99 [-Wimplicit-function-declaration]
- if (!readhdr(seq))
- ^
- genwin.c:528:4: warning: implicit declaration of function 'readseq' is invalid
- in C99 [-Wimplicit-function-declaration]
- readseq(seq);
- ^
- genwin.c:545:1: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- readhdr(seq)
- ^
- genwin.c:598:10: warning: implicit declaration of function 'memccpy' is invalid
- in C99 [-Wimplicit-function-declaration]
- {memccpy(curpos, curstr->string, '\0', STRSIZE);}
- ^
- genwin.c:600:10: warning: implicit declaration of function 'memccpy' is invalid
- in C99 [-Wimplicit-function-declaration]
- {memccpy(curpos, curstr->string, '\0', STRSIZE-1);}
- ^
- genwin.c:622:4: warning: implicitly declaring library function 'memcpy' with
- type 'void *(void *, const void *, unsigned long)'
- [-Wimplicit-function-declaration]
- memcpy(seq->id, bptr, idend);
- ^
- genwin.c:622:4: note: include the header <string.h> or explicitly provide a
- declaration for 'memcpy'
- genwin.c:670:10: warning: implicit declaration of function 'skipline' is invalid
- in C99 [-Wimplicit-function-declaration]
- skipline(fp);
- ^
- genwin.c:684:1: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- skipline(fp)
- ^
- genwin.c:692:4: error: non-void function 'skipline' should return a value
- [-Wreturn-type]
- return;
- ^
- genwin.c:718:1: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- readseq(seq)
- ^
- genwin.c:777:4: warning: implicit declaration of function 'memccpy' is invalid
- in C99 [-Wimplicit-function-declaration]
- memccpy(curpos, curstr->string, '\0', STRSIZE);
- ^
- genwin.c:791:2: error: non-void function 'readseq' should return a value
- [-Wreturn-type]
- return;
- ^
- genwin.c:795:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern upper(string, len)
- ~~~~~~ ^
- genwin.c:808:8: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- extern lower(string, len)
- ~~~~~~ ^
- genwin.c:863:1: warning: type specifier missing, defaults to 'int'
- [-Wimplicit-int]
- tfree(ptr)
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement