I'm having some problems with OLC 2.01. I am trying to finally
move from OLC 1.7x to OLC 2.01. A few questions:
I can get through the first boot just fine, but when I try to
compile WITHOUT -DFIRST_BOOT, I get errors like this:
[EMAIL PROTECTED] src.olc2]$ make
15:15:20 Compiling act_info.c
act_info.c: In function `do_practice':
act_info.c:2860: subscripted value is neither array nor pointer
act_info.c:2864: subscripted value is neither array nor pointer
act_info.c:2864: subscripted value is neither array nor pointer
act_info.c:2909: subscripted value is neither array nor pointer
act_info.c:2918: subscripted value is neither array nor pointer
act_info.c:2927: subscripted value is neither array nor pointer
act_info.c:2930: subscripted value is neither array nor pointer
act_info.c:2939: subscripted value is neither array nor pointer
make: *** [act_info.o] Error 1
An example of where this is happening is:
if ( ch->level < skill_table[sn].skill_level[ch->class]
|| ch->pcdata->learned[sn] < 1 /* skill is not known */)
continue;
The compiler seems to be choking on the reference to
ch->pcdata->learned[sn], since in merc.h it is defined as:
#if defined(FIRST_BOOT)
sh_int learned [MAX_SKILL];
bool group_known [MAX_GROUP];
#else
sh_int learned;
bool group_known;
#endif
I've searched through the archives but couldn't find any
references to this particular problem...
Also, is there a list of OLC 2.x bugs anywhere handy?
Thanks,
Ryan
--
[EMAIL PROTECTED]
HELO... my name is root... you have SIGKILLed my father... prepare to vi!
Hi! Can you to speak to me the learn for to speak the Unix?