Someone ran across this same error before, in which the archives do not show what the resolution actually was. I have tried the suggestions posted by George and I still can not get this to work right. Has anyone figured out how to get it working as of yet? comm.c:2322: warning: passing arg 1 of `interpret_colors' discards `const' from pointer target type SEND_TO_Q(messg, ch->desc); /*2322*/ from comm.h char *interpret_colors(char *, bool); /* #define SEND_TO_Q(messg, desc) write_to_output((messg), desc) */ #define SEND_TO_Q(txt, d) \ write_to_output(interpret_colors(txt, (d->character && \ (PRF_FLAGGED(d->character, PRF_COLOR_1) || \ PRF_FLAGGED(d->character, PRF_COLOR_2)) ? TRUE : FALSE)), d); I have tried const char for the interpret_colors in every format I can think of.. no luck.. anyone have an idea how to define it right? +------------------------------------------------------------+ | 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