Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Dextermovies
(65 posts) bio
|
| Date |
Wed 07 Sep 2005 06:18 PM (UTC) [ quote
] |
| 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
Moderator |
| Date |
Reply #1 on Wed 07 Sep 2005 06:31 PM (UTC) [ quote
] |
| 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.
1,674 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )