#2421: help! broken compile!
----------------------------------------+---------------------------
Reporter: ant...@… | Type: bug
Status: new | Priority: blocker
Milestone: unspecified | Component: Build system
Version: unspecified | Keywords:
Operating System: Windows Vista 64bit | Blocked By:
Blocking: |
----------------------------------------+---------------------------
hey dudes, everything was cool a few days ago with compiling the program
but I updated today and now I can't get it to compile and I don't
understand how to fix the errors.
how do I fix?
{{{Error 7 error C2664: 'lstrcpynW' : cannot convert
parameter 1 from 'CHAR [1]' to 'LPWSTR'
c:\warzone\lib\exceptionhandler\exchndl.cpp 397
Error 8 error C2664: 'j_SymUnDName' : cannot convert parameter 2
from 'LPTSTR' to 'PSTR' c:\warzone\lib\exceptionhandler\exchndl.cpp
399
Error 9 error C2664: 'lstrcpynW' : cannot convert parameter 2 from
'CHAR [1]' to 'LPCWSTR' c:\warzone\lib\exceptionhandler\exchndl.cpp
428
Error 10 error C2664: 'lstrcpynW' : cannot convert parameter 2 from
'PCHAR' to 'LPCWSTR' c:\warzone\lib\exceptionhandler\exchndl.cpp 470
Error 21 error C2440: 'initializing' : cannot convert from 'void *'
to 'PDWORD *' c:\warzone\lib\exceptionhandler\exchndl.cpp 531
Error 30 error C2440: '=' : cannot convert from 'BOOL (__stdcall
*)(HANDLE,LPCVOID,LPVOID,SIZE_T,SIZE_T *)' to
'PREAD_PROCESS_MEMORY_ROUTINE'
c:\warzone\lib\exceptionhandler\exchndl.cpp 582
Error 32 error C2664: 'BOOL (HANDLE,DWORD,PVOID,DWORD,PDWORD)' :
cannot convert parameter 2 from 'LPCVOID' to 'DWORD'
c:\warzone\lib\exceptionhandler\exchndl.cpp 596
Error 33 error C2664: 'BOOL (HANDLE,DWORD,PVOID,DWORD,PDWORD)' :
cannot convert parameter 1 from 'DWORD' to 'HANDLE'
c:\warzone\lib\exceptionhandler\exchndl.cpp 596
Error 35 error C2664: 'BOOL (HANDLE,DWORD,PVOID,DWORD,PDWORD)' :
cannot convert parameter 2 from 'LPCVOID' to 'DWORD'
c:\warzone\lib\exceptionhandler\exchndl.cpp 603
Error 36 error C2664: 'BOOL (HANDLE,DWORD,PVOID,DWORD,PDWORD)' :
cannot convert parameter 1 from 'DWORD' to 'HANDLE'
c:\warzone\lib\exceptionhandler\exchndl.cpp 603
Error 38 error C2664: 'BOOL (HANDLE,DWORD,PVOID,DWORD,PDWORD)' :
cannot convert parameter 2 from 'LPCVOID' to 'DWORD'
c:\warzone\lib\exceptionhandler\exchndl.cpp 605
Error 39 error C2664: 'BOOL (HANDLE,DWORD,PVOID,DWORD,PDWORD)' :
cannot convert parameter 1 from 'DWORD' to 'HANDLE'
c:\warzone\lib\exceptionhandler\exchndl.cpp 605
Error 41 error C2664: 'BOOL (HANDLE,DWORD,PVOID,DWORD,PDWORD)' :
cannot convert parameter 2 from 'LPCVOID' to 'DWORD'
c:\warzone\lib\exceptionhandler\exchndl.cpp 609
Error 42 error C2664: 'BOOL (HANDLE,DWORD,PVOID,DWORD,PDWORD)' :
cannot convert parameter 1 from 'DWORD' to 'HANDLE'
c:\warzone\lib\exceptionhandler\exchndl.cpp 609
Error 44 error C2446: ':' : no conversion from 'const char *' to
'TCHAR *' c:\warzone\lib\exceptionhandler\exchndl.cpp 874
Error 48 error C2664: 'rprintf' : cannot convert parameter 1 from
'const char [18]' to 'const TCHAR *'
c:\warzone\lib\exceptionhandler\exchndl.cpp 1012
Error 49 error C2664: 'rprintf' : cannot convert parameter 1 from
'const char [6]' to 'const TCHAR *'
c:\warzone\lib\exceptionhandler\exchndl.cpp 1014
Error 50 error C2664: 'MessageBoxW' : cannot convert parameter 1
from 'long' to 'HWND' c:\warzone\lib\exceptionhandler\exchndl.cpp
1133
Error 51 error C2664: 'MessageBoxW' : cannot convert parameter 1
from 'long' to 'HWND' c:\warzone\lib\exceptionhandler\exchndl.cpp
1156
Error 52 error C2664: 'MessageBoxW' : cannot convert parameter 1
from 'long' to 'HWND' c:\warzone\lib\exceptionhandler\exchndl.cpp
1175
Error 53 error C2664: 'wcscpy' : cannot convert parameter 2 from
'char *' to 'const wchar_t *'
c:\warzone\lib\exceptionhandler\exchndl.cpp 1232
Error 69 fatal error C1083: Cannot open source file:
'.\miniupnpc\igd_desc_parse.cpp': No such file or directory c1xx
Error 70 fatal error C1083: Cannot open source file:
'.\miniupnpc\minisoap.cpp': No such file or directory c1xx
Error 71 fatal error C1083: Cannot open source file:
'.\miniupnpc\minissdpc.cpp': No such file or directory c1xx
Error 72 fatal error C1083: Cannot open source file:
'.\miniupnpc\miniupnpc.cpp': No such file or directory c1xx
Error 73 fatal error C1083: Cannot open source file:
'.\miniupnpc\miniwget.cpp': No such file or directory c1xx
Error 74 fatal error C1083: Cannot open source file:
'.\miniupnpc\minixml.cpp': No such file or directory c1xx
Error 75 fatal error C1083: Cannot open source file:
'.\miniupnpc\upnpcommands.cpp': No such file or directory c1xx
Error 76 fatal error C1083: Cannot open source file:
'.\miniupnpc\upnperrors.cpp': No such file or directory c1xx
Error 77 fatal error C1083: Cannot open source file:
'.\miniupnpc\upnpreplyparse.cpp': No such file or directory c1xx
Error 88 fatal error C1083: Cannot open source file:
'.\audp_lexer.lex.cpp': No such file or directory c1xx
Error 91 error C2440: '=' : cannot convert from 'void *' to 'char
*' c:\warzone\lib\framework\stdio_ext.cpp 85
Error 94 fatal error C1083: Cannot open source file:
'.\strres_lexer.lex.cpp': No such file or directory c1xx
Error 155 fatal error C1083: Cannot open source file:
'.\script_lexer.lex.cpp': No such file or directory c1xx
Error 157 fatal error C1083: Cannot open source file:
'.\chat_lexer.lex.cpp': No such file or directory c1xx
Error 164 error C3861: 'nearbyint': identifier not found
c:\warzone\lib\sequence\sequence.cpp 755
Error 245 error C3861: 'hypotf': identifier not found
c:\warzone\src\aiexperience.cpp 802
Error 246 error C3861: 'hypotf': identifier not found
c:\warzone\src\aiexperience.cpp 952
Error 310 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\bridge.cpp 74
Error 311 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\bridge.cpp 74
Error 312 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\bridge.cpp 189
Error 313 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\bridge.cpp 193
Error 441 error C3861: 'roundf': identifier not found
c:\warzone\src\difficulty.cpp 91
Error 442 error C3861: 'roundf': identifier not found
c:\warzone\src\difficulty.cpp 93
Error 457 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\display.cpp 699
Error 458 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\display.cpp 700
Error 459 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\display.cpp 749
Error 460 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\display.cpp 750
Error 568 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\effects.cpp 1264
Error 818 fatal error C1083: Cannot open include file: 'unistd.h':
No such file or directory c:\warzone\src\level_lexer.lex.cpp 44
Error 848 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\lighting.cpp 454
Error 849 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\lighting.cpp 455
Error 850 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\lighting.cpp 456
Error 955 fatal error C1083: Cannot open include file: 'unistd.h':
No such file or directory c:\warzone\src\message_lexer.lex.cpp 44
Error 1047 error C2664: 'addMultiEditBox' : cannot convert parameter
6 from 'const char *' to 'char []' c:\warzone\src\multiint.cpp 1147
Error 1382 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 4948
Error 1384 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 5165
Error 1395 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 7236
Error 1396 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 7264
Error 1397 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\scriptfuncs.cpp 7408
Error 1398 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\scriptfuncs.cpp 7408
Error 1401 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 7936
Error 1402 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 7964
Error 1403 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 8263
Error 1404 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 8285
Error 1405 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 8800
Error 1406 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 8825
Error 1407 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 9181
Error 1408 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 9263
Error 1409 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 9322
Error 1410 error C3861: 'hypotf': identifier not found
c:\warzone\src\scriptfuncs.cpp 9440
Error 1508 fatal error C1083: Cannot open include file: 'unistd.h':
No such file or directory c:\warzone\src\scriptvals_lexer.lex.cpp 44
Error 1562 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\structure.cpp 4352
Error 1563 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\structure.cpp 4353
Error 1584 error C2668: 'pow' : ambiguous call to overloaded function
c:\warzone\src\terrain.cpp 1156
Error 1645 error C2668: 'abs' : ambiguous call to overloaded function
c:\warzone\src\warcam.cpp 809}}}
--
Ticket URL: <http://developer.wz2100.net/ticket/2421>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev