I'm having problems compiling WorldServer.
Do note that I have not yet changed anything and also, this is a totemia flyff resource.
Code:
------ Build started: Project: WorldServer, Configuration: Release Win32 ------
Compiling...
StdAfx.cpp
..\_Network\CmnHdr.h(12) : error C2144: syntax error : 'int' should be preceded by ';'
..\_Network\CmnHdr.h(12) : error C2501: 'donor' : missing storage-class or type specifiers
..\_Network\CmnHdr.h(12) : error C2146: syntax error : missing ';' before identifier 'g_tCurrent'
..\_Network\CmnHdr.h(12) : error C2377: 'time_t' : redefinition; typedef cannot be overloaded with any other symbol
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\time.h(77) : see declaration of 'time_t'
..\_Network\CmnHdr.h(12) : error C2501: 'g_tCurrent' : missing storage-class or type specifiers
..\_Network\CmnHdr.h(695) : error C2146: syntax error : missing ';' before identifier 'time_null'
..\_Network\CmnHdr.h(695) : error C2433: 'time_t' : 'inline' not permitted on data declarations
..\_Network\CmnHdr.h(695) : error C2501: 'time_t' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(105) : error C2146: syntax error : missing ';' before identifier 'time_create'
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(105) : error C2501: '_finddata_t::time_t' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(105) : error C2501: '_finddata_t::time_create' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(106) : error C2146: syntax error : missing ';' before identifier 'time_access'
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(106) : error C2501: '_finddata_t::time_t' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(106) : error C2501: '_finddata_t::time_access' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(107) : error C2146: syntax error : missing ';' before identifier 'time_write'
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(107) : error C2501: '_finddata_t::time_t' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(107) : error C2501: '_finddata_t::time_write' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(116) : error C2146: syntax error : missing ';' before identifier 'time_create'
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(116) : error C2501: '_finddatai64_t::time_t' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(116) : error C2501: '_finddatai64_t::time_create' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(117) : error C2146: syntax error : missing ';' before identifier 'time_access'
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(117) : error C2501: '_finddatai64_t::time_t' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(117) : error C2501: '_finddatai64_t::time_access' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(118) : error C2146: syntax error : missing ';' before identifier 'time_write'
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(118) : error C2501: '_finddatai64_t::time_t' : missing storage-class or type specifiers
C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(118) : error C2501: '_finddatai64_t::time_write' : missing storage-class or type specifiers
e:\FlyffCustom\CompileTest\Program\_Common\Piercing.h(38) : error C2923: 'std::vector' : 'time_t' is invalid as template argument '#1', type expected
..\_Network\CmnHdr.h(12) : see declaration of 'time_t'
e:\FlyffCustom\CompileTest\Program\_Common\Piercing.h(41) : error C2061: syntax error : identifier 'time_t'
e:\FlyffCustom\CompileTest\Program\_Common\Piercing.h(42) : error C2146: syntax error : missing ';' before identifier 'GetVisKeepTime'
e:\FlyffCustom\CompileTest\Program\_Common\Piercing.h(42) : error C2501: 'CPiercing::time_t' : missing storage-class or type specifiers
e:\FlyffCustom\CompileTest\Program\_Common\Piercing.h(42) : warning C4183: 'GetVisKeepTime': missing return type; assumed to be a member function returning 'int'
..\_Common\Item.h(278) : error C2061: syntax error : identifier 'time_t'
..\_Common\Item.h(279) : error C2146: syntax error : missing ';' before identifier 'GetVisKeepTime'
..\_Common\Item.h(279) : error C2501: 'CItemElem::time_t' : missing storage-class or type specifiers
..\_Common\Item.h(279) : warning C4183: 'GetVisKeepTime': missing return type; assumed to be a member function returning 'int'
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(20) : error C2061: syntax error : identifier 'time_t'
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(21) : error C2146: syntax error : missing ';' before identifier 'GetExpirationDate'
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(21) : error C2501: 'CPocket::time_t' : missing storage-class or type specifiers
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(21) : warning C4183: 'GetExpirationDate': missing return type; assumed to be a member function returning 'int'
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(28) : error C2146: syntax error : missing ';' before identifier 'm_tExpirationDate'
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(28) : error C2501: 'CPocket::time_t' : missing storage-class or type specifiers
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(28) : error C2501: 'CPocket::m_tExpirationDate' : missing storage-class or type specifiers
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(71) : error C2061: syntax error : identifier 'time_t'
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(75) : error C2146: syntax error : missing ';' before identifier 'GetAvailable'
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(75) : error C2501: 'CPocketController::time_t' : missing storage-class or type specifiers
e:\FlyffCustom\CompileTest\Program\_Common\pocket.h(75) : warning C4183: 'GetAvailable': missing return type; assumed to be a member function returning 'int'
StdAfx.cpp(18) : error C2146: syntax error : missing ';' before identifier 'g_tCurrent'
StdAfx.cpp(18) : error C2501: 'time_t' : missing storage-class or type specifiers
StdAfx.cpp(18) : error C2086: 'int time_t' : redefinition
..\_Network\CmnHdr.h(12) : see declaration of 'time_t'
StdAfx.cpp(18) : error C2501: 'g_tCurrent' : missing storage-class or type specifiers
StdAfx.cpp(18) : error C2086: 'int g_tCurrent' : redefinition
..\_Network\CmnHdr.h(12) : see declaration of 'g_tCurrent'
Thanks and have a nice day!








