Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.33 KB | None | 0 0
  1. C02Y204JJ1GC:untitled folder warnerj$ make
  2. cc -g -c genwin.c
  3. In file included from genwin.c:8:
  4. ./genwin.h:150:8: warning: type specifier missing, defaults to 'int'
  5. [-Wimplicit-int]
  6. extern closedbase();
  7. ~~~~~~ ^
  8. ./genwin.h:153:8: warning: type specifier missing, defaults to 'int'
  9. [-Wimplicit-int]
  10. extern closeseq();
  11. ~~~~~~ ^
  12. ./genwin.h:156:8: warning: type specifier missing, defaults to 'int'
  13. [-Wimplicit-int]
  14. extern shiftwin(), closewin();
  15. ~~~~~~ ^
  16. ./genwin.h:156:20: warning: type specifier missing, defaults to 'int'
  17. [-Wimplicit-int]
  18. extern shiftwin(), closewin();
  19. ~~~~~~ ^
  20. ./genwin.h:158:8: warning: type specifier missing, defaults to 'int'
  21. [-Wimplicit-int]
  22. extern compon(), stateon(), enton();
  23. ~~~~~~ ^
  24. ./genwin.h:158:18: warning: type specifier missing, defaults to 'int'
  25. [-Wimplicit-int]
  26. extern compon(), stateon(), enton();
  27. ~~~~~~ ^
  28. ./genwin.h:158:29: warning: type specifier missing, defaults to 'int'
  29. [-Wimplicit-int]
  30. extern compon(), stateon(), enton();
  31. ~~~~~~ ^
  32. ./genwin.h:162:8: warning: type specifier missing, defaults to 'int'
  33. [-Wimplicit-int]
  34. extern closemat();
  35. ~~~~~~ ^
  36. ./genwin.h:164:8: warning: type specifier missing, defaults to 'int'
  37. [-Wimplicit-int]
  38. extern upper(), lower(), findchar();
  39. ~~~~~~ ^
  40. ./genwin.h:164:17: warning: type specifier missing, defaults to 'int'
  41. [-Wimplicit-int]
  42. extern upper(), lower(), findchar();
  43. ~~~~~~ ^
  44. ./genwin.h:164:26: warning: type specifier missing, defaults to 'int'
  45. [-Wimplicit-int]
  46. extern upper(), lower(), findchar();
  47. ~~~~~~ ^
  48. genwin.c:61:1: warning: type specifier missing, defaults to 'int'
  49. [-Wimplicit-int]
  50. genwininit()
  51. ^
  52. genwin.c:81:2: error: non-void function 'genwininit' should return a value
  53. [-Wreturn-type]
  54. return;
  55. ^
  56. genwin.c:93:8: warning: implicit declaration of function 'blastdb' is invalid in
  57. C99 [-Wimplicit-function-declaration]
  58. if (blastdb(name))
  59. ^
  60. genwin.c:95:41: warning: implicitly declaring library function 'strlen' with
  61. type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
  62. dbase->filename = (char *) malloc(strlen(blastdir)+strlen(name)+1);
  63. ^
  64. genwin.c:95:41: note: include the header <string.h> or explicitly provide a
  65. declaration for 'strlen'
  66. genwin.c:97:7: warning: implicitly declaring library function 'strcpy' with type
  67. 'char *(char *, const char *)' [-Wimplicit-function-declaration]
  68. strcpy(dbase->filename, blastdir);
  69. ^
  70. genwin.c:97:7: note: include the header <string.h> or explicitly provide a
  71. declaration for 'strcpy'
  72. genwin.c:98:7: warning: implicitly declaring library function 'strcat' with type
  73. 'char *(char *, const char *)' [-Wimplicit-function-declaration]
  74. strcat(dbase->filename, name);
  75. ^
  76. genwin.c:98:7: note: include the header <string.h> or explicitly provide a
  77. declaration for 'strcat'
  78. genwin.c:110:8: warning: implicitly declaring library function 'strcmp' with
  79. type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
  80. if (strcmp(dbase->filename, "-")==0)
  81. ^
  82. genwin.c:110:8: note: include the header <string.h> or explicitly provide a
  83. declaration for 'strcmp'
  84. genwin.c:144:8: warning: type specifier missing, defaults to 'int'
  85. [-Wimplicit-int]
  86. extern closedbase(dbase)
  87. ~~~~~~ ^
  88. genwin.c:153:4: error: non-void function 'closedbase' should return a value
  89. [-Wreturn-type]
  90. return;
  91. ^
  92. genwin.c:185:8: warning: type specifier missing, defaults to 'int'
  93. [-Wimplicit-int]
  94. extern closeseq(seq)
  95. ~~~~~~ ^
  96. genwin.c:189:19: error: non-void function 'closeseq' should return a value
  97. [-Wreturn-type]
  98. if (seq==NULL) return;
  99. ^
  100. genwin.c:199:4: error: non-void function 'closeseq' should return a value
  101. [-Wreturn-type]
  102. return;
  103. ^
  104. genwin.c:319:8: warning: type specifier missing, defaults to 'int'
  105. [-Wimplicit-int]
  106. extern closewin(win)
  107. ~~~~~~ ^
  108. genwin.c:323:19: error: non-void function 'closewin' should return a value
  109. [-Wreturn-type]
  110. if (win==NULL) return;
  111. ^
  112. genwin.c:331:4: error: non-void function 'closewin' should return a value
  113. [-Wreturn-type]
  114. return;
  115. ^
  116. genwin.c:336:8: warning: type specifier missing, defaults to 'int'
  117. [-Wimplicit-int]
  118. extern compon(win)
  119. ~~~~~~ ^
  120. genwin.c:353:2: error: non-void function 'compon' should return a value
  121. [-Wreturn-type]
  122. return;
  123. ^
  124. genwin.c:364:8: warning: type specifier missing, defaults to 'int'
  125. [-Wimplicit-int]
  126. extern stateon(win)
  127. ~~~~~~ ^
  128. genwin.c:384:2: error: non-void function 'stateon' should return a value
  129. [-Wreturn-type]
  130. return;
  131. ^
  132. genwin.c:389:8: warning: type specifier missing, defaults to 'int'
  133. [-Wimplicit-int]
  134. extern enton(win)
  135. ~~~~~~ ^
  136. genwin.c:397:4: error: non-void function 'enton' should return a value
  137. [-Wreturn-type]
  138. return;
  139. ^
  140. genwin.c:510:9: warning: implicit declaration of function 'readhdr' is invalid
  141. in C99 [-Wimplicit-function-declaration]
  142. if (!readhdr(seq))
  143. ^
  144. genwin.c:528:4: warning: implicit declaration of function 'readseq' is invalid
  145. in C99 [-Wimplicit-function-declaration]
  146. readseq(seq);
  147. ^
  148. genwin.c:545:1: warning: type specifier missing, defaults to 'int'
  149. [-Wimplicit-int]
  150. readhdr(seq)
  151. ^
  152. genwin.c:598:10: warning: implicit declaration of function 'memccpy' is invalid
  153. in C99 [-Wimplicit-function-declaration]
  154. {memccpy(curpos, curstr->string, '\0', STRSIZE);}
  155. ^
  156. genwin.c:600:10: warning: implicit declaration of function 'memccpy' is invalid
  157. in C99 [-Wimplicit-function-declaration]
  158. {memccpy(curpos, curstr->string, '\0', STRSIZE-1);}
  159. ^
  160. genwin.c:622:4: warning: implicitly declaring library function 'memcpy' with
  161. type 'void *(void *, const void *, unsigned long)'
  162. [-Wimplicit-function-declaration]
  163. memcpy(seq->id, bptr, idend);
  164. ^
  165. genwin.c:622:4: note: include the header <string.h> or explicitly provide a
  166. declaration for 'memcpy'
  167. genwin.c:670:10: warning: implicit declaration of function 'skipline' is invalid
  168. in C99 [-Wimplicit-function-declaration]
  169. skipline(fp);
  170. ^
  171. genwin.c:684:1: warning: type specifier missing, defaults to 'int'
  172. [-Wimplicit-int]
  173. skipline(fp)
  174. ^
  175. genwin.c:692:4: error: non-void function 'skipline' should return a value
  176. [-Wreturn-type]
  177. return;
  178. ^
  179. genwin.c:718:1: warning: type specifier missing, defaults to 'int'
  180. [-Wimplicit-int]
  181. readseq(seq)
  182. ^
  183. genwin.c:777:4: warning: implicit declaration of function 'memccpy' is invalid
  184. in C99 [-Wimplicit-function-declaration]
  185. memccpy(curpos, curstr->string, '\0', STRSIZE);
  186. ^
  187. genwin.c:791:2: error: non-void function 'readseq' should return a value
  188. [-Wreturn-type]
  189. return;
  190. ^
  191. genwin.c:795:8: warning: type specifier missing, defaults to 'int'
  192. [-Wimplicit-int]
  193. extern upper(string, len)
  194. ~~~~~~ ^
  195. genwin.c:808:8: warning: type specifier missing, defaults to 'int'
  196. [-Wimplicit-int]
  197. extern lower(string, len)
  198. ~~~~~~ ^
  199. genwin.c:863:1: warning: type specifier missing, defaults to 'int'
  200. [-Wimplicit-int]
  201. tfree(ptr)
  202. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement