PlaneShift

Development => Development Deliberation => VisualC++ => Topic started by: xinye on November 28, 2008, 04:02:35 am

Title: error C2106: '=' : left operand must be l-value
Post by: xinye on November 28, 2008, 04:02:35 am
I use MSVC 7.1 without Platform SDK to build planeshift and get the C2106 error:

Code: [Select]
正在编译...
dictionary.cpp
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xlocnum(322) : error C2106: “=” : 左操作数必须为 l 值

1,does the MSVC71 need Platform SDK?
2,pls help me to fix it, tks.
Title: Re: error C2106: '=' : left operand must be l-value
Post by: fans1 on February 19, 2009, 04:33:56 am
commet file planeshift\src\tools\fparser\fparser.h line 12 #include <string> will work ,bug libfpraser will break
dont know why
Title: Re: error C2106: '=' : left operand must be l-value
Post by: fans1 on February 19, 2009, 04:36:49 am
another way
move  fparser.h line 12 #include <string> to fparser.cpp will both work