[Newbie] color woes

From: G. Meadors (gamead@kih.net)
Date: 11/11/98


I patched in the snippet 'colourcode2' from the ftp site into bp14 and
went to compile it.  Around this point, something decided that it didn't

like me (though I try not to take it too personally).  A few months
back,
I was running bp13, and there were no complaints when I compiled the
same snippet into the code.  Hopefully, it is something really, really
simple, and I can whap myself in the forehead and go "Doh!"

Thanks in advance,
Draun of SkyDain

Errors given from compiling:

comm.c: In function `parse_color':
comm.c:1085: warning: implicit declaration of function `clr'
comm.c:1085: `C_NRM' undeclared (first use this function)
comm.c:1085: (Each undeclared identifier is reported only once
comm.c:1085: for each function it appears in.)
comm.c:1099: `KNRM' undeclared (first use this function)
comm.c:1105: `KRED' undeclared (first use this function)
comm.c:1110: `KGRN' undeclared (first use this function)
comm.c:1116: `KYEL' undeclared (first use this function)
comm.c:1124: `KBLU' undeclared (first use this function)
comm.c:1130: `KMAG' undeclared (first use this function)
comm.c:1134: `KCYN' undeclared (first use this function)
comm.c:1138: `KWHT' undeclared (first use this function)
comm.c:1143: `KBLD' undeclared (first use this function)
comm.c:1147: `KBLK' undeclared (first use this function)
comm.c:1151: `KUND' undeclared (first use this function)
comm.c:1155: `KDAR' undeclared (first use this function)
comm.c:1159: `KBRED' undeclared (first use this function)
comm.c:1163: `KBGRN' undeclared (first use this function)
comm.c:1167: `KBYEL' undeclared (first use this function)
comm.c:1171: `KBBLU' undeclared (first use this function)
comm.c:1175: `KBMAG' undeclared (first use this function)
comm.c:1179: `KBCYN' undeclared (first use this function)
comm.c:1183: `KBWHT' undeclared (first use this function)
comm.c:1187: `KBBLK' undeclared (first use this function)
comm.c: At top level:
comm.c:1227: parse error before `the'
comm.c:1228: parse error before `to'
comm.c:1235: conflicting types for `new_txt'
comm.c:1233: previous declaration of `new_txt'
comm.c:1235: `txt' undeclared here (not in a function)
comm.c:1235: `t' undeclared here (not in a function)
comm.c:1235: warning: initialization makes integer from pointer without
a cast
comm.c:1235: initializer element is not constant
comm.c:1235: warning: data definition has no type or storage class
comm.c:1237: warning: passing arg 1 of `strlen' makes pointer from
integer without a cast
comm.c:1237: initializer element is not constant
comm.c:1237: warning: data definition has no type or storage class
comm.c:1240: parse error before `if'
comm.c:1248: warning: parameter names (without types) in function
declaration
comm.c:1248: conflicting types for `free'
/usr/include/stdlib.h:352: previous declaration of `free'
comm.c:1248: warning: data definition has no type or storage class
comm.c:1249: parse error before `return'
comm.c:1259: warning: parameter names (without types) in function
declaration
comm.c:1259: warning: data definition has no type or storage class
comm.c:1260: parse error before `return'
comm.c:1267: conflicting types for `bufpool'
comm.c:96: previous declaration of `bufpool'
comm.c:1267: invalid type argument of `->'
comm.c:1267: warning: data definition has no type or storage class
comm.c:1268: parse error before `}'
comm.c:1269: conflicting types for `abort'
/usr/include/stdlib.h:370: previous declaration of `abort'
comm.c:1269: warning: data definition has no type or storage class
comm.c:1269: parse error before `}'
comm.c:1270: warning: data definition has no type or storage class
comm.c:1270: parse error before `}'
comm.c:1274: parse error before `->'
comm.c:1274: warning: data definition has no type or storage class
comm.c:1275: parse error before `->'
comm.c:1276: parse error before `->'
comm.c:1276: conflicting types for `strcat'
/usr/include/string.h:72: previous declaration of `strcat'
comm.c:1276: warning: data definition has no type or storage class
comm.c:1279: parse error before `->'
comm.c:1284: warning: parameter names (without types) in function
declaration
comm.c:1284: warning: data definition has no type or storage class
comm.c:1285: parse error before `}'
comm.c: In function `write_to_output':
comm.c:1318: warning: comparison between pointer and integer
comm.c:1319: warning: assignment makes pointer from integer without a
cast
comm.c:1320: invalid type argument of `->'
comm.c: In function `process_output':
comm.c:1599: warning: assignment makes pointer from integer without a
cast
comm.c:1600: warning: assignment makes integer from pointer without a
cast
comm.c: At top level:
comm.c:2367: parse error before `if'
comm.c: In function `perform_act':
comm.c:2386: stray '\' in program
comm.c:2392: stray '\' in program
comm.c:2398: stray '\' in program
comm.c:2404: stray '\' in program
comm.c:2407: stray '\' in program
comm.c:2410: stray '\' in program
comm.c:2413: stray '\' in program
comm.c:2416: stray '\' in program
comm.c:2419: stray '\' in program
comm.c:2422: stray '\' in program
comm.c:2425: stray '\' in program
comm.c:2428: stray '\' in program
comm.c: At top level:
comm.c:2454: parse error before `!'
comm.c:2462: parse error before `if'
comm.c:2481: stray '\' in program
comm.c:2487: stray '\' in program
comm.c:2502: warning: data definition has no type or storage class
comm.c:2502: invalid type argument of `->'
comm.c:2502: parse error before `)'
comm.c:2503: stray '\' in program
comm.c:2509: warning: parameter names (without types) in function
declaration
comm.c:2509: conflicting types for `perform_act'
comm.c:2373: previous declaration of `perform_act'
comm.c:2509: warning: data definition has no type or storage class
comm.c:2510: parse error before `}'
make[1]: *** [comm.o] Error 1
make[1]: Leaving directory `/home/draun/mud/circle/src'
make: *** [all] Error 2


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST