Re: Error I have not seen before

From: Zeavon (zeavon@kilnar.com)
Date: 01/18/00


On Tue, 18 Jan 2000, Del wrote:

> aedit.c:141: warning: assignment of read-only member `command'
> aedit.c:142: warning: assignment of read-only member `sort_as'
>
>
>          complete_cmd_info[i].command =
> soc_mess_list[OLC_ZNUM(d)].command;
>          complete_cmd_info[i].sort_as =
> soc_mess_list[OLC_ZNUM(d)].sort_as;

Just a guess, but I would say that either soc_mess_list is 'const' or the
members of the struct are const. I could be wrong.

--
Zeavon Calatin, MageMaster of the Realms
Spear of Insanity
http://spear.kilnar.com/    telnet://spear.kilnar.com:1066


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT