[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]  ROM
. -> [Folder]  Compiling the server
. . -> [Subject]  Warfare Errors Part 2

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

Warfare Errors Part 2

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


Posted by Lupercus   (4 posts)  [Biography] bio
Date Thu 28 Mar 2002 03:48 AM (UTC)  quote  ]
Message
Next, will be war.c

gcc war.c -Wall -O -ggdb -DNOCRYPT -c -o obj/war.o
war.c: In function `start_war':
war.c:144: warning: implicit declaration of function `wartalk'
war.c:145: `info_war' undeclared (first use in this function)
war.c:145: (Each undeclared identifier is reported only once
war.c:145: for each function it appears in.)
war.c:145: parse error before string constant
war.c: In function `auto_war':
war.c:179: warning: implicit declaration of function `IS_PLAYER'
war.c:194: `LEVEL_LEGEND' undeclared (first use in this function)
war.c:199: warning: implicit declaration of function `get_mob_vnum'
war.c:199: warning: assignment makes pointer from integer without a cast
war.c:212: warning: implicit declaration of function `announce'
war.c:212: `info_war' undeclared (first use in this function)
war.c: In function `end_war':
war.c:255: warning: implicit declaration of function `do_look'
war.c:285:26: warning: multi-line string literals are deprecated
war.c: In function `do_war':
war.c:289: parse error before "start"
war.c:289:34: warning: multi-line string literals are deprecated
war.c:293:57: warning: multi-line string literals are deprecated
war.c:301:33: warning: multi-line string literals are deprecated
war.c:306:33: warning: multi-line string literals are deprecated
war.c:310:47: warning: multi-line string literals are deprecated
war.c:316:54: warning: multi-line string literals are deprecated
war.c:325:66: warning: multi-line string literals are deprecated
war.c:331:27: warning: multi-line string literals are deprecated
war.c:334:56: warning: multi-line string literals are deprecated
war.c:338:68: warning: multi-line string literals are deprecated
war.c:342:33: warning: multi-line string literals are deprecated
war.c:344: stray '\' in program
war.c:344: stray '\' in program
war.c:344:41: warning: multi-line string literals are deprecated
war.c:345: stray '\' in program
war.c:345: stray '\' in program
war.c:345:40: warning: multi-line string literals are deprecated
war.c:346:39: warning: multi-line string literals are deprecated
war.c:348: stray '\' in program
war.c:348: stray '\' in program
war.c:348:50: warning: multi-line string literals are deprecated
war.c:349:33: warning: multi-line string literals are deprecated
war.c:351: stray '\' in program
war.c:351: stray '\' in program
war.c:351:47: warning: multi-line string literals are deprecated
war.c:354: stray '\' in program
war.c:354: stray '\' in program
war.c:354:58: warning: multi-line string literals are deprecated
war.c:355:56: warning: multi-line string literals are deprecated
war.c:358: stray '\' in program
war.c:358: stray '\' in program
war.c:358:47: warning: multi-line string literals are deprecated
war.c:363:34: warning: multi-line string literals are deprecated
war.c:368: stray '\' in program
war.c:368: stray '\' in program
war.c:368:42: warning: multi-line string literals are deprecated
war.c:374: invalid suffix on integer constant
war.c:374: stray '\' in program
war.c:374: stray '\' in program
war.c:374:68: warning: multi-line string literals are deprecated
war.c:375:21: warning: multi-line string literals are deprecated
war.c:384: stray '\' in program
war.c:384: stray '\' in program
war.c:384:46: warning: multi-line string literals are deprecated
war.c:387:33: warning: multi-line string literals are deprecated
war.c:391: stray '\' in program
war.c:391: stray '\' in program
war.c:391:68: warning: multi-line string literals are deprecated
war.c:397:34: missing terminating ' character
war.c:397: character constant too long
war.c:412: warning: implicit declaration of function `is_true_clan
war.c:430: `info_war' undeclared (first use in this function)
war.c:263: warning: unused variable `buf'
war.c:265: warning: unused variable `i'
war.c: In function `abort_class_war':
war.c:479: warning: implicit declaration of function `is_same_class'
war.c: In function `war_wait':
war.c:524: `info_war' undeclared (first use in this function)
war.c: In function `war_update':
war.c:602: `info_war' undeclared (first use in this function)
war.c: In function `check_war':
war.c:655: `info_war' undeclared (first use in this function)
war.c:656: warning: implicit declaration of function `GET_NAME'
war.c:688: subscripted value is neither array nor pointer
war.c:693: subscripted value is neither array nor pointer
war.c:693: subscripted value is neither array nor pointer
war.c:698: warning: too many arguments for format
war.c:710: `clan_table' undeclared (first use in this function)
war.c:720: warning: too many arguments for format
war.c:735: warning: too many arguments for format
war.c:635: warning: `wch' might be used uninitialized in this function
war.c: In function `is_safe_war':
war.c:750: parse error before '(' token
war.c:750: parse error before '(' token
war.c:759: subscripted value is neither array nor pointer
war.c:759: subscripted value is neither array nor pointer
war.c: In function `war_talk':
war.c:788: parse error before '(' token
war.c:796: parse error at end of input

No clue with these at all.

Lupercus
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Thu 28 Mar 2002 05:08 AM (UTC)  quote  ]
Message
"Stray \ in program" sounds suspiciously like bad line endings. Make sure you are not using Unix text on a DOS machine, or vice-versa.

In my downloads area are some small programs, dos2unix and unix2dos that change text types.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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,822 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]