Re: OLC problems

From: Forgotten Realm (f_realm@hotmail.com)
Date: 05/02/99


The area that it is referring to says:

#ifdef HAVE_STRING_H
#include <string.h>
#else                           // Not sure why this caused problems
#include <strings.h>
#endif

If I try taking out the esle and #include<strings.h> line, it returns the
following errors:

d:\realm\src\comm.h(43) : error C2061: syntax error : identifier 'sigfunc'
d:\realm\src\comm.h(43) : error C2059: syntax error : ';'
d:\realm\src\comm.h(43) : error C2059: syntax error : 'type'
D:\Realm\src\medit.c(474) : warning C4013: 'strcpy' undefined; assuming
extern returning int
D:\Realm\src\medit.c(1041) : warning C4013: 'strcat' undefined; assuming
extern returning int
D:\Realm\src\medit.c(1070) : warning C4013: 'atoi' undefined; assuming
extern returning int

Everything compiled correctly until I added the patch.

>From: Albert <thecheezeman@EARTHLINK.NET>
>Reply-To: Circle Discussion List <CIRCLE@post.queensu.ca>
>To: CIRCLE@post.queensu.ca
>Subject: Re:  OLC problems
>Date: Sun, 2 May 1999 07:40:04 -0500
>
>Well, this is only a dim guess, but try commenting that #include segment
>out and use #include
><string.h> instead.
>
>At 5/2/99 3:27:00 AM, you wrote:
> >I've been trying to install OLC version 1.5 on Circle 3.11.  When it
> >compiles, it gives me an error message saying:
> >
> >sysdep.h(49) : fatal error C1083: Cannot open include file: 'strings.h':
>No
> >such file or directory
> >
> >I'm using MSVC6 to try to compile it and I'm not sure what is causing the
> >problem.  Any help would be appreciated.
> >
> >Thanks,
> >Tyr
> >
> >


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com


     +------------------------------------------------------------+
     | 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