Archive: Problem compiling CVS - update.cpp


Problem compiling CVS - update.cpp
Hello,

i just want to report a bug, i tried to compile the CVs from 2005/06/19 and i got a bug while compiling makensisw, scons told me that the file update.cpp was missing, could you please fix that.?

Thanks in advance.
bye


I post the log it it can helps you to find the problem (i use scons 0.96.90, mstoolkit + plateform sdk)

cl /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE=2.0 /c Contrib\Makensisw\
makensisw.cpp /Fobuild\release\Makensisw\makensisw.obj
httpget.cpp
util.cpp***9834;***9689;makensisw.cpp
Contrib\Makensisw\jnetlib\httpget.cpp(390) : error C2666: '_strnicmp' : 2 overlo
ads have similar conversions
Contrib\Makensisw\cl /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE
=2.0 /c Contrib\Makensisw\noclib.cpp /Fobuild\release\Makensisw\noclib.obj
jnetlib\httpget.cpp(233): could be 'int _strnicmp(charContrib\Makensis *,char *w
\makensisw.cpp(29 C:\Program F) : fatal error C1iles\Microsoft Visnoclib.cp
p
083: Cannot open iual C++ Toolkit 20nclude file: 'upda03\include\string.te.h': N
o such filh(134): or 'e or directory
int _strnicmp(consscons: *** [build\release\Makensisw\makensisw.obj] Error 2
t char *,const char *,size_t)'
while trying to match the argument list '(char [4096], const char [10],
int)'
note: qualification adjustment (const/volatile) may be causing the ambig
uity
scons: *** [build\release\Makensisw\jnetlib\httpget.obj] Error 2
scons: building terminated because of errors.

E:\Scripts NSIS\NSIS-20050619>

Thanks, already uploaded missing update.cpp and update.h.


hello,

thanks for the quick answer, but i still got errors while compiling makensisw, here is the log:

cl /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE=2.0 /c Contrib\Makensisw\
jnetlib\asyncdns.cpp /Fobuild\release\Makensisw\jnetlib\asyncdns.obj
asyncdns.cpp
cl /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE=2.0 /c Contrib\Makensisw\
jnetlib\connection.cpp /Fobuild\release\Makensisw\jnetlib\connection.obj
connection.cpp
cl /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE=2.0 /c Contrib\Makensisw\
jnetlib\httpget.cpp /Fobuild\release\Makensisw\jnetlib\httpget.obj
cl /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE=2.0 /c Contrib\Makensisw\
jnetlib\util.cpp /Fobuild\release\Makensisw\jnetlib\util.obj
httpget.cpp
cl /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE=2.0 /c Contrib\Makensisw\
makensisw.cpp /Fobuild\release\Makensisw\makensisw.obj
util.cpp
makensisw.cpp
Contrib\Makensisw\jnetlib\httpget.cpp(390) : error C2666: '_strnicmp' : cl /nolo
go /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE=2.0 /c Contrib\Makensisw\noclib.c
pp /Fobuild\release\Makensisw\noclib.obj
2 overloads have similar conversions
Contrib\Mnoclib.cpp
akensisw\jnecl /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE=2.0 /c Contri
b\Makensisw\toolbar.cpp /Fobuild\release\Makensisw\toolbar.obj
tlib\httpget.cpp(233): could be 'int _strnicmp(char *,toolbar.cpp
char *,int)'
C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\string.h(134)
:c or l /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DRELEASE=2.0 /c Contrib\Mak
ensisw\utils.cpp /Fobuild\release\Makensisw\utils.obj
'int _strnicmp(const char *,const char *,sizcl /nologo /O1 /W3 /TP /DWIN32_M
EAN_AND_LEAN /DRELEASE=2.0 /c Contrib\Makensisw\version.cpp /Fobuild\release\Mak
ensisw\version.obj
e_t)'
utils.cpp
while trying to match the argument list '(char [4096], const char [10],
int)'
note: qualification adjustment (const/volativersion.cpp
le) may be causing the ambiguicl /nologo /O1 /W3 /TP /DWIN32_MEAN_AND_LEAN /DREL
EASE=2.0 /c Contrib\Makensisw\update.cpp /Fobuild\release\Makensisw\update.obj
ty
scons: *** [build\release\Makensisw\jnetlib\httpget.obj] Error 2
update.cpp
scons: building terminated because of errors.

E:\Scripts NSIS\NSIS-20050619>

Thanks, fixed.


Thanks a lot, this time it works!!
bye