Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Compiling the server
➜ compiling dystopia 1.2
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Dextermovies
(65 posts) Bio
|
Date
| Wed 07 Sep 2005 06:18 PM (UTC) |
Message
| 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 | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Wed 07 Sep 2005 06:31 PM (UTC) |
Message
| The array says it is of size 0 but it is initialized with one element. Changing the 0 to 1 should fix the problem. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,104 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top