Open ptrayal opened 9 years ago
grid.c: In function ‘row_to_char’: grid.c:270: warning: implicit declaration of function ‘send_to_char’ grid.c: In function ‘cell_set_linecount’: grid.c:202: warning: ‘last_lr’ may be used uninitialized in this function grid.c: In function ‘cell_append_contents’: grid.c:202: warning: ‘last_lr’ may be used uninitialized in this function grid.c:202: note: ‘last_lr’ was declared here grid.c: In function ‘cell_set_contents’: grid.c:202: warning: ‘last_lr’ may be used uninitialized in this function grid.c:202: note: ‘last_lr’ was declared here gcc -g -O2 -Wall -o ../bin/circle account.o act.comm.o act.informative.o act.item.o act.movement.o act.offensive.o act.other.o act.social.o act.wizard.o aedit.o alias.o asciimap.o assedit.o assemblies.o auction.o auction_house.o ban.o boards.o bsd-snprintf.o cedit.o char_descs.o clan.o clanedit.o class.o comm.o config.o constants.o context_help.o db.o deities.o dg_comm.o dg_db_scripts.o dg_event.o dg_handler.o dg_misc.o dg_mobcmd.o dg_objcmd.o dg_olc.o dg_scripts.o dg_triggers.o dg_variables.o dg_wldcmd.o feats.o fight.o gedit.o gengld.o genmob.o genobj.o genolc.o genqst.o genshp.o genwld.o genzon.o graph.o guild.o handler.o hedit.o hints.o house.o htree.o improved-edit.o interpreter.o limits.o magic.o mail.o medit.o memorization.o mobact.o modify.o new_mail.o note.o oasis.o oasis_copy.o oasis_delete.o oasis_list.o objsave.o oedit.o olc.o player_guilds.o pets.o players.o polls.o protocol.o qedit.o quest.o races.o random.o redit.o sedit.o shop.o spec_assign.o spec_procs.o spell_parser.o spells.o statedit.o tedit.o transport.o treasure.o utils.o vehicles.o weather.o zedit.o modules.o grid.o -lcrypt -lz -lmysqlclient
Down to two warnings to cleanup.
gcc -g -O2 -Wall -c -o grid.o grid.c In file included from grid.c:15: structs.h:3330: error: expected specifier-qualifier-list before ‘socket_t’ In file included from grid.c:16: grid.h:58: error: expected declaration specifiers or ‘...’ before ‘CHAR_DATA’ grid.h:59: error: expected declaration specifiers or ‘...’ before ‘CHAR_DATA’ grid.c: In function ‘row_add_cell’: grid.c:121: warning: implicit declaration of function ‘log_string’ grid.c: At top level: grid.c:223: error: expected declaration specifiers or ‘...’ before ‘CHAR_DATA’ grid.c: In function ‘row_to_char’: grid.c:229: warning: implicit declaration of function ‘UMIN’ grid.c:265: warning: implicit declaration of function ‘printf_to_char’ grid.c:265: error: ‘ch’ undeclared (first use in this function) grid.c:265: error: (Each undeclared identifier is reported only once grid.c:265: error: for each function it appears in.) grid.c:229: warning: unused variable ‘bottom_fill’ grid.c:228: warning: unused variable ‘x’ grid.c: At top level: grid.c:280: error: expected declaration specifiers or ‘...’ before ‘CHAR_DATA’ grid.c: In function ‘grid_to_char’: grid.c:284: error: ‘ch’ undeclared (first use in this function) grid.c:289: error: too many arguments to function ‘row_to_char’