Advertisement
Guest User

Advanced Rogue Compilation

a guest
Apr 30th, 2014
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 18.43 KB | None | 0 0
  1. person@computer ~/Games/arogue5.8.2-src $ make
  2. gcc -g   -c -o chase.o chase.c
  3. gcc -g   -c -o command.o command.c
  4. command.c: In function ‘command’:
  5. command.c:251:4: warning: incompatible implicit declaration of built-in functionexit[enabled by default]
  6.     exit(0);
  7.     ^
  8. command.c: In function ‘quit’:
  9. command.c:454:2: warning: incompatible implicit declaration of built-in functionexit[enabled by default]
  10.   exit(0);
  11.   ^
  12. command.c: In function ‘call’:
  13. command.c:925:6: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  14.       free(guess[obj->o_which]);
  15.       ^
  16. command.c:926:2: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  17.   strcpy(prbuf, elsewise);
  18.   ^
  19. command.c:930:6: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  20.       strncpy(obj->o_mark, prbuf, MARKLEN-1);
  21.       ^
  22. command.c:934:47: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  23.       guess[obj->o_which] = new((unsigned int) strlen(prbuf) + 1);
  24.                                                ^
  25. command.c:935:6: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  26.       strcpy(guess[obj->o_which], prbuf);
  27.       ^
  28. gcc -g   -c -o daemon.o daemon.c
  29. gcc -g   -c -o daemons.o daemons.c
  30. gcc -g   -c -o encumb.o encumb.c
  31. gcc -g   -c -o fight.o fight.c
  32. gcc -g   -c -o init.o init.c
  33. init.c: In function ‘init_names’:
  34. init.c:244:28: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  35.   s_names[i] = (char *) new(strlen(prbuf)+1);
  36.                             ^
  37. init.c:247:2: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  38.   strcpy(s_names[i], prbuf);
  39.   ^
  40. init.c: In function ‘init_player’:
  41. init.c:302:6: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  42.       strcpy(pstats.s_dmg,"3d4");
  43.       ^
  44. init.c:353:6: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  45.       strcpy(pstats.s_dmg,"1d4");
  46.       ^
  47. gcc -g   -c -o io.o io.c
  48. io.c: In function ‘endmsg’:
  49. io.c:68:5: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  50.      strcpy(huh, msgbuf);
  51.      ^
  52. io.c: In function ‘doadd’:
  53. io.c:90:14: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  54.      newpos = strlen(msgbuf);
  55.               ^
  56. io.c: In function ‘status’:
  57. io.c:235:15: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  58.      pb = &buf[strlen(buf)];
  59.                ^
  60. gcc -g   -c -o list.o list.c
  61. gcc -g   -c -o main.o main.c
  62. main.c: In function ‘main’:
  63. main.c:58:5: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  64.      strncpy(home,md_gethomedir(),LINELEN);
  65.      ^
  66. main.c:61:5: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  67.      strcpy(file_name, home);
  68.      ^
  69. main.c:62:5: warning: incompatible implicit declaration of built-in functionstrcat[enabled by default]
  70.      strcat(file_name, "arogue58.sav");
  71.      ^
  72. main.c:76:43: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  73.          strucpy(whoami, md_getusername(), strlen(md_getusername()));
  74.                                            ^
  75. main.c:90:2: warning: incompatible implicit declaration of built-in functionexit[enabled by default]
  76.   exit(0);
  77.   ^
  78. main.c:144:6: warning: incompatible implicit declaration of built-in functionexit[enabled by default]
  79.       exit(1);
  80.       ^
  81. main.c: In function ‘fatal’:
  82. main.c:236:5: warning: incompatible implicit declaration of built-in functionexit[enabled by default]
  83.      exit(0);
  84.      ^
  85. gcc -g   -c -o maze.o maze.c
  86. gcc -g   -c -o mdport.o mdport.c
  87. mdport.c: In function ‘md_getusername’:
  88. mdport.c:245:5: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  89.      strncpy(login,l,80);
  90.      ^
  91. mdport.c: In function ‘md_gethomedir’:
  92. mdport.c:284:17: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  93.                  strncpy(homedir,h,PATH_MAX-1);
  94.                  ^
  95. mdport.c:292:11: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  96.      len = strlen(homedir);
  97.            ^
  98. mdport.c:293:5: warning: incompatible implicit declaration of built-in functionstrncat[enabled by default]
  99.      strncat(homedir,h,PATH_MAX-len-1);
  100.      ^
  101. mdport.c: In function ‘md_getshell’:
  102. mdport.c:335:5: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  103.      strncpy(shell,s,PATH_MAX);
  104.      ^
  105. mdport.c: In function ‘md_getroguedir’:
  106. mdport.c:413:13: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  107.              strncpy(path, home, PATH_MAX - 20);
  108.              ^
  109. mdport.c:415:25: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  110.              end = &path[strlen(path)-1];
  111.                          ^
  112. mdport.c: In function ‘md_gethostname’:
  113. mdport.c:614:5: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  114.      strncpy(nodename, n, 80);
  115.      ^
  116. mdport.c: In function ‘md_unctrl’:
  117. mdport.c:658:5: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
  118.      return( unctrl(ch) );
  119.      ^
  120. gcc -g   -c -o misc.o misc.c
  121. misc.c: In function ‘misc_name’:
  122. misc.c:286:6: warning: incompatible implicit declaration of built-in functionstrcat[enabled by default]
  123.       strcat(buf, num(obj->o_ac, 0));
  124.       ^
  125. misc.c:297:3: warning: incompatible implicit declaration of built-in functionstrcat[enabled by default]
  126.    strcat(buf, "cursed ");
  127.    ^
  128. misc.c:299:5: warning: incompatible implicit declaration of built-in functionstrcat[enabled by default]
  129.      strcat(buf, m_magic[obj->o_which].mi_name);
  130.      ^
  131. misc.c:331:23: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  132.       case C_MAGICIAN: strcpy(buf1, " [magic user]");
  133.                        ^
  134. misc.c: In function ‘use_mm’:
  135. misc.c:719:2: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  136.   free(m_guess[which]);
  137.   ^
  138. misc.c:729:42: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  139.       m_guess[which] = new((unsigned int) strlen(buf) + 1);
  140.                                           ^
  141. misc.c:730:6: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  142.       strcpy(m_guess[which], buf);
  143.       ^
  144. gcc -g   -c -o monsters.o monsters.c
  145. gcc -g   -c -o move.o move.c
  146. gcc -g   -c -o new_level.o new_level.c
  147. gcc -g   -c -o options.o options.c
  148. options.c: In function ‘get_str’:
  149. options.c:225:12: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  150.    for (i = strlen(unctrl(*sp)); i; i--)
  151.             ^
  152. options.c:241:3: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  153.    strcpy(buf, home);
  154.    ^
  155. options.c:243:9: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  156.    sp += strlen(home);
  157.          ^
  158. options.c:251:20: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  159.   strucpy(opt, buf, strlen(buf));
  160.                     ^
  161. options.c: In function ‘parse_opts’:
  162. options.c:362:4: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  163.     strcpy((char *) value, home);
  164.     ^
  165. options.c:363:29: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  166.     start = (char *) value + strlen(home);
  167.                              ^
  168. options.c:378:4: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  169.     strcpy((char *)op->o_opt, value);
  170.     ^
  171. options.c:381:23: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  172.     register int len = strlen(value);
  173.                        ^
  174. gcc -g   -c -o outside.o outside.c
  175. gcc -g   -c -o pack.o pack.c
  176. gcc -g   -c -o passages.o passages.c
  177. gcc -g   -c -o player.o player.c
  178. gcc -g   -c -o potions.o potions.c
  179. potions.c: In function ‘quaff’:
  180. potions.c:597:2: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  181.   free(p_guess[which]);
  182.   ^
  183. potions.c:610:42: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  184.       p_guess[which] = new((unsigned int) strlen(buf) + 1);
  185.                                           ^
  186. potions.c:611:6: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  187.       strcpy(p_guess[which], buf);
  188.       ^
  189. gcc -g   -c -o rings.o rings.c
  190. rings.c: In function ‘ring_on’:
  191. rings.c:92:2: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  192.   free(r_guess[obj->o_which]);
  193.   ^
  194. rings.c:102:49: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  195.       r_guess[obj->o_which] = new((unsigned int) strlen(buf) + 1);
  196.                                                  ^
  197. rings.c:103:6: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  198.       strcpy(r_guess[obj->o_which], buf);
  199.       ^
  200. rings.c: In function ‘ring_num’:
  201. rings.c:130:6: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  202.       strcpy(&buf[1], num(obj->o_ac, 0));
  203.       ^
  204. gcc -g   -c -o rip.o rip.c
  205. In file included from rip.c:24:0:
  206. rip.c: In function ‘death’:
  207. rip.c:110:23: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  208.      mvaddstr(14, 28-((strlen(whoami)+1)/2), whoami);
  209.                        ^
  210. rip.c: In function ‘score’:
  211. rip.c:184:5: warning: incompatible implicit declaration of built-in functionmemset[enabled by default]
  212.      memset(top_ten,0,sizeof(top_ten));
  213.      ^
  214. rip.c:222:2: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  215.   strncpy(scp->sc_system, thissys, SYSLEN);
  216.   ^
  217. rip.c:329:3: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  218.    strncpy(whoami, buffer, LINELEN);
  219.    ^
  220. rip.c: In function ‘scoreout’:
  221. rip.c:612:9: warning: incompatible implicit declaration of built-in functionmemset[enabled by default]
  222.          memset(scoreline,0,100);
  223.          ^
  224. rip.c: In function ‘update’:
  225. rip.c:758:2: warning: incompatible implicit declaration of built-in functionstrncpy[enabled by default]
  226.   strncpy(scp->sc_name, whoami, LINELEN);
  227.   ^
  228. gcc -g   -c -o rogue.o rogue.c
  229. gcc -g   -c -o rooms.o rooms.c
  230. rooms.c: In function ‘do_rooms’:
  231. rooms.c:113:3: warning: incompatible implicit declaration of built-in functionabort[enabled by default]
  232.    abort();
  233.    ^
  234. gcc -g   -c -o save.o save.c
  235. save.c: In function ‘save_game’:
  236. save.c:69:2: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  237.   strcpy(file_name, buf);
  238.   ^
  239. save.c: In function ‘auto_save’:
  240. save.c:105:5: warning: incompatible implicit declaration of built-in functionexit[enabled by default]
  241.      exit(1);
  242.      ^
  243. save.c: In function ‘save_file’:
  244. save.c:126:22: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  245.      encwrite(version,strlen(version)+1,savef);
  246.                       ^
  247. save.c: In function ‘restore’:
  248. save.c:161:18: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  249.      encread(buf, strlen(version) + 1, inf);
  250.                   ^
  251. save.c:229:5: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  252.      strcpy(file_name, file);
  253.      ^
  254. gcc -g   -c -o scrolls.o scrolls.c
  255. scrolls.c: In function ‘read_scroll’:
  256. scrolls.c:691:2: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  257.   free(s_guess[which]);
  258.   ^
  259. scrolls.c:703:27: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  260.       s_guess[which] = new(strlen(buf) + 1);
  261.                            ^
  262. scrolls.c:704:6: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  263.       strcpy(s_guess[which], buf);
  264.       ^
  265. gcc -g   -c -o state.o state.c
  266. state.c: In function ‘rs_write_string’:
  267. state.c:723:35: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  268.      len = (s == NULL) ? 0 : (int) strlen(s) + 1;
  269.                                    ^
  270. gcc -g   -c -o sticks.o sticks.c
  271. sticks.c: In function ‘do_zap’:
  272. sticks.c:325:7: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  273.        strcpy(strike.o_damage,"3d8");
  274.        ^
  275. sticks.c: In function ‘fix_stick’:
  276. sticks.c:753:2: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  277.   strcpy(cur->o_damage,"2d3");
  278.   ^
  279. sticks.c:766:2: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  280.   strcpy(cur->o_damage,"1d3");
  281.   ^
  282. sticks.c:780:5: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  283.      strcpy(cur->o_hurldmg,"1d1");
  284.      ^
  285. gcc -g   -c -o things.o things.c
  286. things.c: In function ‘inv_name’:
  287. things.c:58:15: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  288.       pb = &pb[strlen(pb)];
  289.                ^
  290. things.c:98:7: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  291.        strcpy(pb, "Some food");
  292.        ^
  293. things.c:108:3: warning: incompatible implicit declaration of built-in functionstrcat[enabled by default]
  294.    strcat(pb, num(obj->o_hplus, obj->o_dplus));
  295.    ^
  296. things.c:111:6: warning: incompatible implicit declaration of built-in functionstrcat[enabled by default]
  297.       strcat(pb, weaps[obj->o_which].w_name);
  298.       ^
  299. things.c:273:11: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  300.   pb = &pb[strlen(pb)];
  301.            ^
  302. things.c:278:2: warning: incompatible implicit declaration of built-in functionstrcat[enabled by default]
  303.   strcat(pb, " [protected]");
  304.   ^
  305. things.c: In function ‘new_thing’:
  306. things.c:527:5: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  307.      strcpy(cur->o_damage,"0d0");
  308.      ^
  309. things.c: In function ‘spec_item’:
  310. things.c:725:5: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  311.      strcpy(obj->o_damage,"0d0");
  312.      ^
  313. gcc -g   -c -o trader.o trader.c
  314. trader.c: In function ‘price_it’:
  315. trader.c:236:2: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  316.   strcpy(curpurch,str);  /* save item */
  317.   ^
  318. trader.c: In function ‘typ_name’:
  319. trader.c:330:3: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  320.    strcpy(buff,"unknown");
  321.    ^
  322. gcc -g   -c -o util.o util.c
  323. util.c: In function ‘strucpy’:
  324. util.c:848:2: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  325.   strcpy(s1, (sp = unctrl(*s2)));
  326.   ^
  327. util.c:848:17: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  328.   strcpy(s1, (sp = unctrl(*s2)));
  329.                  ^
  330. util.c:849:8: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  331.   s1 += strlen(sp);
  332.         ^
  333. gcc -g   -c -o vers.o vers.c
  334. gcc -g   -c -o weapons.o weapons.c
  335. weapons.c: In function ‘init_weapon’:
  336. weapons.c:153:2: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  337.   strcpy(weap->o_damage,iwp->w_dam);
  338.   ^
  339. gcc -g   -c -o wear.o wear.c
  340. wear.c: In function ‘wear’:
  341. wear.c:223:3: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  342.    free(m_guess[obj->o_which]);
  343.    ^
  344. wear.c:232:50: warning: incompatible implicit declaration of built-in functionstrlen[enabled by default]
  345.        m_guess[obj->o_which] = new((unsigned int) strlen(buf) + 1);
  346.                                                   ^
  347. wear.c:233:7: warning: incompatible implicit declaration of built-in functionstrcpy[enabled by default]
  348.        strcpy(m_guess[obj->o_which], buf);
  349.        ^
  350. gcc -g   -c -o wizard.o wizard.c
  351. wizard.c: In function ‘whatis’:
  352. wizard.c:544:3: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  353.    free(s_guess[obj->o_which]);
  354.    ^
  355. wizard.c:550:3: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  356.    free(p_guess[obj->o_which]);
  357.    ^
  358. wizard.c:556:3: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  359.    free(ws_guess[obj->o_which]);
  360.    ^
  361. wizard.c:562:3: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  362.    free(r_guess[obj->o_which]);
  363.    ^
  364. wizard.c:575:3: warning: incompatible implicit declaration of built-in functionfree[enabled by default]
  365.    free(m_guess[obj->o_which]);
  366.    ^
  367. gcc -g   -c -o xcrypt.o xcrypt.c
  368. gcc -g  chase.o command.o daemon.o daemons.o encumb.o fight.o init.o io.o list.o main.o maze.o mdport.o misc.o monsters.o move.o new_level.o options.o outside.o  pack.o passages.o player.o potions.o rings.o rip.o rogue.o rooms.o save.o scrolls.o state.o sticks.o things.o trader.o util.o vers.o weapons.o wear.o wizard.o xcrypt.o -lcurses -o arogue58
  369. person@computer ~/Games/arogue5.8.2-src $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement