Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- person@computer ~/Games/arogue5.8.2-src $ make
- gcc -g -c -o chase.o chase.c
- gcc -g -c -o command.o command.c
- command.c: In function ‘command’:
- command.c:251:4: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
- exit(0);
- ^
- command.c: In function ‘quit’:
- command.c:454:2: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
- exit(0);
- ^
- command.c: In function ‘call’:
- command.c:925:6: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(guess[obj->o_which]);
- ^
- command.c:926:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(prbuf, elsewise);
- ^
- command.c:930:6: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(obj->o_mark, prbuf, MARKLEN-1);
- ^
- command.c:934:47: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- guess[obj->o_which] = new((unsigned int) strlen(prbuf) + 1);
- ^
- command.c:935:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(guess[obj->o_which], prbuf);
- ^
- gcc -g -c -o daemon.o daemon.c
- gcc -g -c -o daemons.o daemons.c
- gcc -g -c -o encumb.o encumb.c
- gcc -g -c -o fight.o fight.c
- gcc -g -c -o init.o init.c
- init.c: In function ‘init_names’:
- init.c:244:28: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- s_names[i] = (char *) new(strlen(prbuf)+1);
- ^
- init.c:247:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(s_names[i], prbuf);
- ^
- init.c: In function ‘init_player’:
- init.c:302:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(pstats.s_dmg,"3d4");
- ^
- init.c:353:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(pstats.s_dmg,"1d4");
- ^
- gcc -g -c -o io.o io.c
- io.c: In function ‘endmsg’:
- io.c:68:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(huh, msgbuf);
- ^
- io.c: In function ‘doadd’:
- io.c:90:14: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- newpos = strlen(msgbuf);
- ^
- io.c: In function ‘status’:
- io.c:235:15: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- pb = &buf[strlen(buf)];
- ^
- gcc -g -c -o list.o list.c
- gcc -g -c -o main.o main.c
- main.c: In function ‘main’:
- main.c:58:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(home,md_gethomedir(),LINELEN);
- ^
- main.c:61:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(file_name, home);
- ^
- main.c:62:5: warning: incompatible implicit declaration of built-in function ‘strcat’ [enabled by default]
- strcat(file_name, "arogue58.sav");
- ^
- main.c:76:43: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- strucpy(whoami, md_getusername(), strlen(md_getusername()));
- ^
- main.c:90:2: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
- exit(0);
- ^
- main.c:144:6: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
- exit(1);
- ^
- main.c: In function ‘fatal’:
- main.c:236:5: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
- exit(0);
- ^
- gcc -g -c -o maze.o maze.c
- gcc -g -c -o mdport.o mdport.c
- mdport.c: In function ‘md_getusername’:
- mdport.c:245:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(login,l,80);
- ^
- mdport.c: In function ‘md_gethomedir’:
- mdport.c:284:17: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(homedir,h,PATH_MAX-1);
- ^
- mdport.c:292:11: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- len = strlen(homedir);
- ^
- mdport.c:293:5: warning: incompatible implicit declaration of built-in function ‘strncat’ [enabled by default]
- strncat(homedir,h,PATH_MAX-len-1);
- ^
- mdport.c: In function ‘md_getshell’:
- mdport.c:335:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(shell,s,PATH_MAX);
- ^
- mdport.c: In function ‘md_getroguedir’:
- mdport.c:413:13: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(path, home, PATH_MAX - 20);
- ^
- mdport.c:415:25: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- end = &path[strlen(path)-1];
- ^
- mdport.c: In function ‘md_gethostname’:
- mdport.c:614:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(nodename, n, 80);
- ^
- mdport.c: In function ‘md_unctrl’:
- mdport.c:658:5: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
- return( unctrl(ch) );
- ^
- gcc -g -c -o misc.o misc.c
- misc.c: In function ‘misc_name’:
- misc.c:286:6: warning: incompatible implicit declaration of built-in function ‘strcat’ [enabled by default]
- strcat(buf, num(obj->o_ac, 0));
- ^
- misc.c:297:3: warning: incompatible implicit declaration of built-in function ‘strcat’ [enabled by default]
- strcat(buf, "cursed ");
- ^
- misc.c:299:5: warning: incompatible implicit declaration of built-in function ‘strcat’ [enabled by default]
- strcat(buf, m_magic[obj->o_which].mi_name);
- ^
- misc.c:331:23: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- case C_MAGICIAN: strcpy(buf1, " [magic user]");
- ^
- misc.c: In function ‘use_mm’:
- misc.c:719:2: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(m_guess[which]);
- ^
- misc.c:729:42: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- m_guess[which] = new((unsigned int) strlen(buf) + 1);
- ^
- misc.c:730:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(m_guess[which], buf);
- ^
- gcc -g -c -o monsters.o monsters.c
- gcc -g -c -o move.o move.c
- gcc -g -c -o new_level.o new_level.c
- gcc -g -c -o options.o options.c
- options.c: In function ‘get_str’:
- options.c:225:12: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- for (i = strlen(unctrl(*sp)); i; i--)
- ^
- options.c:241:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(buf, home);
- ^
- options.c:243:9: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- sp += strlen(home);
- ^
- options.c:251:20: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- strucpy(opt, buf, strlen(buf));
- ^
- options.c: In function ‘parse_opts’:
- options.c:362:4: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy((char *) value, home);
- ^
- options.c:363:29: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- start = (char *) value + strlen(home);
- ^
- options.c:378:4: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy((char *)op->o_opt, value);
- ^
- options.c:381:23: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- register int len = strlen(value);
- ^
- gcc -g -c -o outside.o outside.c
- gcc -g -c -o pack.o pack.c
- gcc -g -c -o passages.o passages.c
- gcc -g -c -o player.o player.c
- gcc -g -c -o potions.o potions.c
- potions.c: In function ‘quaff’:
- potions.c:597:2: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(p_guess[which]);
- ^
- potions.c:610:42: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- p_guess[which] = new((unsigned int) strlen(buf) + 1);
- ^
- potions.c:611:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(p_guess[which], buf);
- ^
- gcc -g -c -o rings.o rings.c
- rings.c: In function ‘ring_on’:
- rings.c:92:2: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(r_guess[obj->o_which]);
- ^
- rings.c:102:49: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- r_guess[obj->o_which] = new((unsigned int) strlen(buf) + 1);
- ^
- rings.c:103:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(r_guess[obj->o_which], buf);
- ^
- rings.c: In function ‘ring_num’:
- rings.c:130:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(&buf[1], num(obj->o_ac, 0));
- ^
- gcc -g -c -o rip.o rip.c
- In file included from rip.c:24:0:
- rip.c: In function ‘death’:
- rip.c:110:23: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- mvaddstr(14, 28-((strlen(whoami)+1)/2), whoami);
- ^
- rip.c: In function ‘score’:
- rip.c:184:5: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
- memset(top_ten,0,sizeof(top_ten));
- ^
- rip.c:222:2: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(scp->sc_system, thissys, SYSLEN);
- ^
- rip.c:329:3: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(whoami, buffer, LINELEN);
- ^
- rip.c: In function ‘scoreout’:
- rip.c:612:9: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
- memset(scoreline,0,100);
- ^
- rip.c: In function ‘update’:
- rip.c:758:2: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
- strncpy(scp->sc_name, whoami, LINELEN);
- ^
- gcc -g -c -o rogue.o rogue.c
- gcc -g -c -o rooms.o rooms.c
- rooms.c: In function ‘do_rooms’:
- rooms.c:113:3: warning: incompatible implicit declaration of built-in function ‘abort’ [enabled by default]
- abort();
- ^
- gcc -g -c -o save.o save.c
- save.c: In function ‘save_game’:
- save.c:69:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(file_name, buf);
- ^
- save.c: In function ‘auto_save’:
- save.c:105:5: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
- exit(1);
- ^
- save.c: In function ‘save_file’:
- save.c:126:22: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- encwrite(version,strlen(version)+1,savef);
- ^
- save.c: In function ‘restore’:
- save.c:161:18: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- encread(buf, strlen(version) + 1, inf);
- ^
- save.c:229:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(file_name, file);
- ^
- gcc -g -c -o scrolls.o scrolls.c
- scrolls.c: In function ‘read_scroll’:
- scrolls.c:691:2: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(s_guess[which]);
- ^
- scrolls.c:703:27: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- s_guess[which] = new(strlen(buf) + 1);
- ^
- scrolls.c:704:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(s_guess[which], buf);
- ^
- gcc -g -c -o state.o state.c
- state.c: In function ‘rs_write_string’:
- state.c:723:35: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- len = (s == NULL) ? 0 : (int) strlen(s) + 1;
- ^
- gcc -g -c -o sticks.o sticks.c
- sticks.c: In function ‘do_zap’:
- sticks.c:325:7: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(strike.o_damage,"3d8");
- ^
- sticks.c: In function ‘fix_stick’:
- sticks.c:753:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(cur->o_damage,"2d3");
- ^
- sticks.c:766:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(cur->o_damage,"1d3");
- ^
- sticks.c:780:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(cur->o_hurldmg,"1d1");
- ^
- gcc -g -c -o things.o things.c
- things.c: In function ‘inv_name’:
- things.c:58:15: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- pb = &pb[strlen(pb)];
- ^
- things.c:98:7: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(pb, "Some food");
- ^
- things.c:108:3: warning: incompatible implicit declaration of built-in function ‘strcat’ [enabled by default]
- strcat(pb, num(obj->o_hplus, obj->o_dplus));
- ^
- things.c:111:6: warning: incompatible implicit declaration of built-in function ‘strcat’ [enabled by default]
- strcat(pb, weaps[obj->o_which].w_name);
- ^
- things.c:273:11: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- pb = &pb[strlen(pb)];
- ^
- things.c:278:2: warning: incompatible implicit declaration of built-in function ‘strcat’ [enabled by default]
- strcat(pb, " [protected]");
- ^
- things.c: In function ‘new_thing’:
- things.c:527:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(cur->o_damage,"0d0");
- ^
- things.c: In function ‘spec_item’:
- things.c:725:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(obj->o_damage,"0d0");
- ^
- gcc -g -c -o trader.o trader.c
- trader.c: In function ‘price_it’:
- trader.c:236:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(curpurch,str); /* save item */
- ^
- trader.c: In function ‘typ_name’:
- trader.c:330:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(buff,"unknown");
- ^
- gcc -g -c -o util.o util.c
- util.c: In function ‘strucpy’:
- util.c:848:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(s1, (sp = unctrl(*s2)));
- ^
- util.c:848:17: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
- strcpy(s1, (sp = unctrl(*s2)));
- ^
- util.c:849:8: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- s1 += strlen(sp);
- ^
- gcc -g -c -o vers.o vers.c
- gcc -g -c -o weapons.o weapons.c
- weapons.c: In function ‘init_weapon’:
- weapons.c:153:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(weap->o_damage,iwp->w_dam);
- ^
- gcc -g -c -o wear.o wear.c
- wear.c: In function ‘wear’:
- wear.c:223:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(m_guess[obj->o_which]);
- ^
- wear.c:232:50: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
- m_guess[obj->o_which] = new((unsigned int) strlen(buf) + 1);
- ^
- wear.c:233:7: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
- strcpy(m_guess[obj->o_which], buf);
- ^
- gcc -g -c -o wizard.o wizard.c
- wizard.c: In function ‘whatis’:
- wizard.c:544:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(s_guess[obj->o_which]);
- ^
- wizard.c:550:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(p_guess[obj->o_which]);
- ^
- wizard.c:556:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(ws_guess[obj->o_which]);
- ^
- wizard.c:562:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(r_guess[obj->o_which]);
- ^
- wizard.c:575:3: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
- free(m_guess[obj->o_which]);
- ^
- gcc -g -c -o xcrypt.o xcrypt.c
- 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
- person@computer ~/Games/arogue5.8.2-src $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement