Unbelievable, After doing a diff between the 2 directories, (which I had done, but didn't notice it) I noticed that a comment in structs.h was wrong and fight.c #defines structs.h and the first few files that compiled must have not. -----Original Message----- From: Tom Dailey <tomd@WAYMARK.NET> To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca> Date: Monday, February 01, 1999 9:57 AM Subject: - Strange compiling error >Hello, > >I have 2 directories, master_src and src. I have edited the src directory >and have gotten the mud to compile to fight.c. It then gives me these >errors: > >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. > >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. > >So, here it is. One file will compile fine within one directory, but not >within a different directory. > >Any help would be appreciated. > >Thanks, > >Tom > > > +------------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | > +------------------------------------------------------------+ > +------------------------------------------------------------+ | 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