Re: [Newbie] Problems compiling ascii pfiles

From: Zednanreh Solo (gryshk@hotmail.com)
Date: 05/19/00


I'm having a problem with ascii pfiles that hasn't been brought up yet. I
fixed up diskio.c with no problems. I'm usinv MSVC++6 with Oasis 2.x and bpl
17. Heres the only error:

db.c
c:\circle30bpl17\src\db.c(2202) : error C2106: '=' : left operand must be
l-value

      case 'N':
        if(!strcmp(tag, "Name"))
//              GET_NAME(ch) == line;
//              strcpy(GET_NAME(ch), line);
                GET_NAME(ch) = str_dup(line);  // <------------
        break;

I've left in my comments showing what I've tried. Anyone have any
suggestions or ideas?

gryshk@hotmail.com
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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 : 04/10/01 PDT