#1694: trunk VS builds are broken
--------------------------------------+-------------------------------------
Reporter: crux | Type: bug
Status: new | Priority: critical
Milestone: unspecified | Component: Build system
Version: svn/trunk | Keywords:
Operating_system: Microsoft Windows | Blockedby:
Blocking: |
--------------------------------------+-------------------------------------
Can't compile trunk anymore...
{{{Error 2 error C2059: syntax error : '-'
..\lib\netplay\netsocket.h 35
Error 3 error C2146: syntax error : missing ';' before identifier
'readNoInt' ..\lib\netplay\netsocket.h 62
Error 4 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.h 62
Error 5 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.h 62
Error 6 error C2146: syntax error : missing ';' before identifier
'readAll' ..\lib\netplay\netsocket.h 63
Error 7 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.h 63
Error 8 error C2086: 'int ssize_t' : redefinition
..\lib\netplay\netsocket.h 63
Error 9 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.h 63
Error 10 error C2146: syntax error : missing ';' before identifier
'writeAll' ..\lib\netplay\netsocket.h 64
Error 11 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.h 64
Error 12 error C2086: 'int ssize_t' : redefinition
..\lib\netplay\netsocket.h 64
Error 13 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.h 64
Error 14 error C2378: 'ssize_t' : redefinition; symbol cannot be
overloaded with a typedef ..\lib\netplay\netsocket.cpp 85
Error 15 error C2146: syntax error : missing ';' before identifier
'ret' ..\lib\netplay\netsocket.cpp 449
Error 16 error C2146: syntax error : missing ';' before identifier
'readNoInt' ..\lib\netplay\netsocket.cpp 507
Error 17 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.cpp 507
Error 18 error C2086: 'int ssize_t' : redefinition
..\lib\netplay\netsocket.cpp 507
Error 19 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.cpp 508
Error 20 error C2146: syntax error : missing ';' before identifier
'received' ..\lib\netplay\netsocket.cpp 509
Error 21 error C2065: 'received' : undeclared identifier
..\lib\netplay\netsocket.cpp 509
Error 22 error C2664: 'recv' : cannot convert parameter 2 from
'void *' to 'char *' ..\lib\netplay\netsocket.cpp 520
Error 23 error C2146: syntax error : missing ';' before identifier
'writeAll' ..\lib\netplay\netsocket.cpp 534
Error 24 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.cpp 534
Error 25 error C2086: 'int ssize_t' : redefinition
..\lib\netplay\netsocket.cpp 534
Error 26 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.cpp 535
Error 28 error C2146: syntax error : missing ';' before identifier
'readAll' ..\lib\netplay\netsocket.cpp 727
Error 29 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.cpp 727
Error 30 error C2086: 'int ssize_t' : redefinition
..\lib\netplay\netsocket.cpp 727
Error 31 error C4430: missing type specifier - int assumed. Note:
C++ does not support default-int ..\lib\netplay\netsocket.cpp 728
Error 32 error C2146: syntax error : missing ';' before identifier
'ret' ..\lib\netplay\netsocket.cpp 743
Error 33 error C2065: 'ret' : undeclared identifier
..\lib\netplay\netsocket.cpp 743
Error 34 error C2146: syntax error : missing ')' before identifier
'set' ..\lib\netplay\netsocket.cpp 749
Error 35 error C2059: syntax error : ')'
..\lib\netplay\netsocket.cpp 750
Error 36 error C2143: syntax error : missing ';' before '{'
..\lib\netplay\netsocket.cpp 751
Error 37 error C2664: 'setsockopt' : cannot convert parameter 4
from 'const int *__w64 ' to 'const char *'
..\lib\netplay\netsocket.cpp 1083
Error 38 error C2664: 'setsockopt' : cannot convert parameter 4
from 'const int *__w64 ' to 'const char *'
..\lib\netplay\netsocket.cpp 1102
Error 39 error C2664: 'setsockopt' : cannot convert parameter 4
from 'const int *__w64 ' to 'const char *'
..\lib\netplay\netsocket.cpp 1124
Error 40 error C2562: 'SOCKETinit' : 'void' function returning a
value ..\lib\netplay\netsocket.cpp 1251
Error 41 error C2440: '=' : cannot convert from 'FARPROC' to 'int
(__stdcall *)(const char *,const char *,const addrinfo *,addrinfo **)'
..\lib\netplay\netsocket.cpp 1257
Error 42 error C2440: '=' : cannot convert from 'FARPROC' to 'int
(__stdcall *)(addrinfo *)' ..\lib\netplay\netsocket.cpp 1258
}}}
--
Ticket URL: <http://developer.wz2100.net/ticket/1694>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev