[greenstone-users] Compilation error

From Dynal Patel
DateMon, 13 Oct 2003 08:54:22 +0200
Subject [greenstone-users] Compilation error
In-Reply-To (005f01c36384$2ee07240$0400a8c0-spencer)
Hello

I get the following error when I try compiling the code with Visual
Studio c++ 6.0. I tried using both commands

compile the local library (server.exe) with
"nmake /f win32.mak USE_STLPORT=1 LOCAL_LIBRARY=1" (STLport version)
or
"nmake /f win32.mak LOCAL_LIBRARY=1" (non-STLport version)

C:Program Filesgsdllibdisplay.h(127) : error C2678: binary '!=' : no
operato
r defined which takes a left-hand operand of type 'const class text_t'
(or there
is no acceptable conversion)
httpreq.cpp(252) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(260) : error C2678: binary '!=' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(288) : error C2678: binary '!=' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(317) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(323) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(326) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(329) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(333) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(336) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(339) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(343) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(346) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(349) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(353) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(356) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(359) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
httpreq.cpp(362) : error C2678: binary '==' : no operator defined which
takes a
left-hand operand of type 'class text_t' (or there is no acceptable
conversion)
NMAKE : U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:PROGRA~1MICROS~3VC98BINNMAKE.EXE' :
return co
de '0x2'
Stop.

Regards

Dynal