Aedit and a '=' error in line 305 usign MSVC++ 5 on a '95 machine.

From: Toxic Twin (toxctwin@NAUTICOM.NET)
Date: 08/24/97

I have a win '95 machine and recently patched in aedit.  when I go and
nmake it the compiler stops at line 305 cnad shows teh following:

Microsoft (R) Program Maintenance Utility   Version 1.62.7022
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.

        cl -c /nologo /I. /I\MSDEV\INCLUDE : error C2106: '=' : left operand must be l-value
NMAKE : fatal error U1077: 'C:\MSDEV\VC\BIN\cl.exe' : return code '0x2'


The line in my code look like the following:

/*count the commands in the command list */
 i = 0;
 while(*cmd_info[i].command != '\n') i++;

 CREATE(complete_cmd_info, struct command_info, top_of_socialt + i + 2);

the CREATE line is line 305 and the error seems to be settled around the
'top_of_socialt + i + 2);' part
Can anyone tell me what is so obvious here that I can't see it?  Thanks.

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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