Re: Borland C++ Compiler

From: Mundi King (kingmundi@YAHOO.COM)
Date: 06/10/98


---George <greerga@CIRCLEMUD.ORG> wrote:
>
> On Tue, 9 Jun 1998, Mundi King wrote:
>
> >> >Error:  comm.c(107,24):Illegal initialization
> >> >FILE *logfile = stderr;         /* Where to send the log
messages. */
> >
> >I changed this to
> >FILE *logfile;
>
> You _must_ have a LOGNAME (config.c) defined if you do that.
>

it will compile and run, with this change in config.c

/*char *LOGNAME = NULL;   */
char *LOGNAME = "log/syslog";
/*-- useful for Windows users */

none of the messages come to the windows console,
but are sent to a file called syslog in a newly created "log" directory




_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


     +------------------------------------------------------------+
     | 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/15/00 PST