[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  compiling dystopia 1.2

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

compiling dystopia 1.2

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Dextermovies   (65 posts)  [Biography] 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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Dextermovies   (65 posts)  [Biography] bio
Date Reply #2 on Wed 07 Sep 2005 08:01 PM (UTC)  quote  ]
Message
thank you, that worked :D
[Go to top] 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]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]