Re: Races, parse error

From: Chuck Reed (creed@I-55.COM)
Date: 12/01/97


Switch the first two included files in race.c, for example, here is your file:

#include "blah_one.h"
#include "blah_two.h"

now change it to:

#include "blah_two.h"
#include "blah_one.h"

That may work, and it may not, if it doesn't, mail me your race.c file.

Chuck Reed

At 03:03 AM 12/1/97 -0500, you wrote:
>> Chuck Reed
>
> i have fixed most of the error i have been getting. i got the
>snippets.tar.gz off the ftp site and have done what it said.
> i have even made a file called race.c which i have implemented into stock
>code. the problem i am having now though is when it gets to the file
>race.c (i have never made my own file before). I get this error when
>running make:
>
>In file included from race.c:1:
> sysdep.h:199: conflicting types for 'srandom'
>/usr/include/stdlib.h:208: previous declaration of 'srandom'
> sysdep.h:200: conflicting types for 'random'
>/usr/include/stblib.h:206: previous declaration of 'random'
>
> What can i do about this error? , i looked at the stblib.h file and was
>lost :P (sorta).
>
>
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>     +------------------------------------------------------------+
>
>


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



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