compiling dystopia 1.2

Posted by Dextermovies on Wed 07 Sep 2005 06:18 PM — 3 posts, 13,911 views.

#0
I have fixed all the error and almost all of the warnings ... I ca not figure this one out

act_wiz.c: In function `do_hreload':
act_wiz.c:6500: warning: excess elements in array initializer
act_wiz.c:6500: warning: (near initialization for `helpfile')


here is the code that the warning is refering to

/* in order of 'importance' */
    char *helpfile[0] = {
        "../area/help.are", } ;


any help is appreciated
USA #1
The array says it is of size 0 but it is initialized with one element. Changing the 0 to 1 should fix the problem.
#2
thank you, that worked :D