Re: - Strange compiling error

From: George (greerga@circlemud.org)
Date: 02/01/99


On Mon, 1 Feb 1999, Tom Dailey wrote:

>fight.c: In function `perform_violence':
>fight.c:1392: parse error before `/'
>fight.c:1392: parse error before `/'
>make[1]: *** [fight.o] Error 1
>
>I did modify fight.c but cannot seem to find the / or /* comment that
>might be causing the error.

Don't suppose someone put a C++ comment // on line 1392 and you're using an
old version of GCC or a UNIX system compiler?

>I then went back into master_src, compiled and no problem.  I then took
>fight.c from the master_src and moved it to src, backing up fight.c in
>that directory first.  I compiled, and get the same parse error with the
>fight.c from master_src.

Which could be caused by your Makefile using a different compiler and the
problem I mentioned above.

--
George Greer
greerga@circlemud.org
http://www.van.ml.org/CircleMUD/OasisOLC/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST