Compiling Problems.. New to this. Just wanna learn.

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Eliminator
Posts: 6
Joined: 2004-06-05 03:23
Location: USA Florida
Contact:

Compiling Problems.. New to this. Just wanna learn.

Post by Eliminator » 2004-06-05 03:35

Hey all, Im new to all this im even new to C but anyhow I'm trying to compile DC++ and all I do is get errors after errors, I have searched though this Whole Forum and nothing I can find that gives me an answer to my problems.. but here is a small list of some of the Errors im getting.. any help plz..


MakeDefs.cpp
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2039: 'btowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2873: 'btowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2039: 'mbrlen' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2873: 'mbrlen' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2039: 'mbrtowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2873: 'mbrtowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2039: 'mbsrtowcs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2873: 'mbsrtowcs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2039: 'wcrtomb' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2873: 'wcrtomb' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2039: 'wcsrtombs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2873: 'wcsrtombs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2039: 'wctob' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2873: 'wctob' : symbol cannot be used in a using-declaration
g:\DCPlusPlus-0.401-src\client\Util.h(266) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\Util.h(268) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\Util.h(281) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\Util.h(303) : error C2146: syntax error : missing ';' before identifier 'toLower'
g:\DCPlusPlus-0.401-src\client\Util.h(303) : error C2061: syntax error : identifier 'u_int8_t'
g:\DCPlusPlus-0.401-src\client\Util.h(303) : warning C4183: 'toLower': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(309) : error C2146: syntax error : missing ';' before identifier 'toInt64'
g:\DCPlusPlus-0.401-src\client\Util.h(315) : warning C4183: 'toInt64': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(329) : error C2143: syntax error : missing ',' before '&'
g:\DCPlusPlus-0.401-src\client\Util.h(366) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(371) : error C2535: '_STL::string Util::toString(const int)' : member function already defined or declared
g:\DCPlusPlus-0.401-src\client\Util.h(329) : see declaration of 'Util::toString'
g:\DCPlusPlus-0.401-src\client\Util.h(493) : error C2146: syntax error : missing ';' before identifier 'rand'
g:\DCPlusPlus-0.401-src\client\Util.h(493) : warning C4183: 'rand': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2146: syntax error : missing ';' before identifier 'rand'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2086: 'int Util::u_int32_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2535: 'int Util::rand(void)' : member function already defined or declared
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::rand'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : warning C4183: 'rand': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2146: syntax error : missing ';' before identifier 'rand'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2086: 'int Util::u_int32_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2535: 'int Util::rand(void)' : member function already defined or declared
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::rand'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : warning C4183: 'rand': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(504) : error C2146: syntax error : missing ';' before identifier 'cmp'
g:\DCPlusPlus-0.401-src\client\Util.h(504) : error C2501: 'Util::cmp' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Util.h(505) : error C2146: syntax error : missing ';' before identifier 'cmpi'
g:\DCPlusPlus-0.401-src\client\Util.h(505) : error C2086: 'int Util::int8_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.h(504) : see declaration of 'Util::int8_t'
g:\DCPlusPlus-0.401-src\client\Util.h(505) : error C2501: 'Util::cmpi' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Thread.h(64) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(91) : error C2146: syntax error : missing ';' before identifier 'get'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(91) : error C2501: 'SettingsManager::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(93) : warning C4183: 'get': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(126) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(150) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(174) : error C2146: syntax error : missing ';' before identifier 'int64Settings'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(174) : error C2501: 'SettingsManager::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(174) : error C2501: 'SettingsManager::int64Settings' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(177) : error C2146: syntax error : missing ';' before identifier 'int64Defaults'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(177) : error C2501: 'SettingsManager::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(177) : error C2501: 'SettingsManager::int64Defaults' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(125) : error C2146: syntax error : missing ';' before identifier 'getLastModified'
g:\DCPlusPlus-0.401-src\client\File.h(125) : error C2501: 'File::u_int32_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(129) : warning C4183: 'getLastModified': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(131) : error C2146: syntax error : missing ';' before identifier 'convertTime'
g:\DCPlusPlus-0.401-src\client\File.h(142) : warning C4183: 'convertTime': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(153) : error C2146: syntax error : missing ';' before identifier 'getSize'
g:\DCPlusPlus-0.401-src\client\File.h(153) : error C2433: 'File::int64_t' : 'virtual' not permitted on data declarations
g:\DCPlusPlus-0.401-src\client\File.h(153) : error C2501: 'File::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(161) : warning C4183: 'getSize': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(163) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\File.h(170) : error C2146: syntax error : missing ';' before identifier 'getPos'
g:\DCPlusPlus-0.401-src\client\File.h(170) : error C2433: 'File::int64_t' : 'virtual' not permitted on data declarations
g:\DCPlusPlus-0.401-src\client\File.h(170) : error C2501: 'File::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(175) : warning C4183: 'getPos': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(177) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\File.h(181) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\File.h(186) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\File.h(232) : error C2146: syntax error : missing ';' before identifier 'getSize'
g:\DCPlusPlus-0.401-src\client\File.h(244) : warning C4183: 'getSize': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(397) : error C2146: syntax error : missing ';' before identifier 'maxBytes'
g:\DCPlusPlus-0.401-src\client\File.h(398) : see reference to class template instantiation 'LimitedInputStream' being compiled
g:\DCPlusPlus-0.401-src\client\File.h(397) : error C2501: 'LimitedInputStream::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(397) : error C2501: 'LimitedInputStream::maxBytes' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(439) : error C2143: syntax error : missing ';' before '*'
g:\DCPlusPlus-0.401-src\client\File.h(440) : see reference to class template instantiation 'BufferedOutputStream' being compiled
g:\DCPlusPlus-0.401-src\client\File.h(439) : error C2501: 'BufferedOutputStream::u_int8_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(439) : error C2501: 'BufferedOutputStream::buf' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(89) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(158) : error C2146: syntax error : missing ';' before identifier 'getLongLongChildAttrib'
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(158) : error C2501: 'SimpleXML::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(161) : warning C4183: 'getLongLongChildAttrib': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\MakeDefs\MakeDefs.cpp(84) : error C2668: 'SimpleXML::addTag' : ambiguous call to overloaded function
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(89): could be 'void SimpleXML::addTag(const _STL::string &) throw(SimpleXMLException)'
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(85): or 'void SimpleXML::addTag(const _STL::string &,const _STL::string &) throw(SimpleXMLException)'
while trying to match the argument list '(const char [9])'
g:\DCPlusPlus-0.401-src\MakeDefs\MakeDefs.cpp(87) : error C2668: 'SimpleXML::addTag' : ambiguous call to overloaded function
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(89): could be 'void SimpleXML::addTag(const _STL::string &) throw(SimpleXMLException)'
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(85): or 'void SimpleXML::addTag(const _STL::string &,const _STL::string &) throw(SimpleXMLException)'
while trying to match the argument list '(const char [8])'
SimpleXML.cpp
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2039: 'btowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2873: 'btowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2039: 'mbrlen' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2873: 'mbrlen' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2039: 'mbrtowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2873: 'mbrtowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2039: 'mbsrtowcs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2873: 'mbsrtowcs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2039: 'wcrtomb' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2873: 'wcrtomb' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2039: 'wcsrtombs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2873: 'wcsrtombs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2039: 'wctob' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2873: 'wctob' : symbol cannot be used in a using-declaration
g:\DCPlusPlus-0.401-src\client\Util.h(266) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\Util.h(268) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\Util.h(281) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\Util.h(303) : error C2146: syntax error : missing ';' before identifier 'toLower'
g:\DCPlusPlus-0.401-src\client\Util.h(303) : error C2061: syntax error : identifier 'u_int8_t'
g:\DCPlusPlus-0.401-src\client\Util.h(303) : warning C4183: 'toLower': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(309) : error C2146: syntax error : missing ';' before identifier 'toInt64'
g:\DCPlusPlus-0.401-src\client\Util.h(315) : warning C4183: 'toInt64': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(329) : error C2143: syntax error : missing ',' before '&'
g:\DCPlusPlus-0.401-src\client\Util.h(366) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(371) : error C2535: '_STL::string Util::toString(const int)' : member function already defined or declared
g:\DCPlusPlus-0.401-src\client\Util.h(329) : see declaration of 'Util::toString'
g:\DCPlusPlus-0.401-src\client\Util.h(493) : error C2146: syntax error : missing ';' before identifier 'rand'
g:\DCPlusPlus-0.401-src\client\Util.h(493) : warning C4183: 'rand': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2146: syntax error : missing ';' before identifier 'rand'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2086: 'int Util::u_int32_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2535: 'int Util::rand(void)' : member function already defined or declared
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::rand'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : warning C4183: 'rand': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2146: syntax error : missing ';' before identifier 'rand'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2086: 'int Util::u_int32_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2535: 'int Util::rand(void)' : member function already defined or declared
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::rand'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : warning C4183: 'rand': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(504) : error C2146: syntax error : missing ';' before identifier 'cmp'
g:\DCPlusPlus-0.401-src\client\Util.h(504) : error C2501: 'Util::cmp' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Util.h(505) : error C2146: syntax error : missing ';' before identifier 'cmpi'
g:\DCPlusPlus-0.401-src\client\Util.h(505) : error C2086: 'int Util::int8_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.h(504) : see declaration of 'Util::int8_t'
g:\DCPlusPlus-0.401-src\client\Util.h(505) : error C2501: 'Util::cmpi' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Thread.h(64) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(91) : error C2146: syntax error : missing ';' before identifier 'get'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(91) : error C2501: 'SettingsManager::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(93) : warning C4183: 'get': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(126) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(150) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(174) : error C2146: syntax error : missing ';' before identifier 'int64Settings'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(174) : error C2501: 'SettingsManager::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(174) : error C2501: 'SettingsManager::int64Settings' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(177) : error C2146: syntax error : missing ';' before identifier 'int64Defaults'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(177) : error C2501: 'SettingsManager::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(177) : error C2501: 'SettingsManager::int64Defaults' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(125) : error C2146: syntax error : missing ';' before identifier 'getLastModified'
g:\DCPlusPlus-0.401-src\client\File.h(125) : error C2501: 'File::u_int32_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(129) : warning C4183: 'getLastModified': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(131) : error C2146: syntax error : missing ';' before identifier 'convertTime'
g:\DCPlusPlus-0.401-src\client\File.h(142) : warning C4183: 'convertTime': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(153) : error C2146: syntax error : missing ';' before identifier 'getSize'
g:\DCPlusPlus-0.401-src\client\File.h(153) : error C2433: 'File::int64_t' : 'virtual' not permitted on data declarations
g:\DCPlusPlus-0.401-src\client\File.h(153) : error C2501: 'File::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(161) : warning C4183: 'getSize': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(163) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\File.h(170) : error C2146: syntax error : missing ';' before identifier 'getPos'
g:\DCPlusPlus-0.401-src\client\File.h(170) : error C2433: 'File::int64_t' : 'virtual' not permitted on data declarations
g:\DCPlusPlus-0.401-src\client\File.h(170) : error C2501: 'File::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(175) : warning C4183: 'getPos': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(177) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\File.h(181) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\File.h(186) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\File.h(232) : error C2146: syntax error : missing ';' before identifier 'getSize'
g:\DCPlusPlus-0.401-src\client\File.h(244) : warning C4183: 'getSize': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\File.h(397) : error C2146: syntax error : missing ';' before identifier 'maxBytes'
g:\DCPlusPlus-0.401-src\client\File.h(398) : see reference to class template instantiation 'LimitedInputStream' being compiled
g:\DCPlusPlus-0.401-src\client\File.h(397) : error C2501: 'LimitedInputStream::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(397) : error C2501: 'LimitedInputStream::maxBytes' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(439) : error C2143: syntax error : missing ';' before '*'
g:\DCPlusPlus-0.401-src\client\File.h(440) : see reference to class template instantiation 'BufferedOutputStream' being compiled
g:\DCPlusPlus-0.401-src\client\File.h(439) : error C2501: 'BufferedOutputStream::u_int8_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\File.h(439) : error C2501: 'BufferedOutputStream::buf' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(89) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(158) : error C2146: syntax error : missing ';' before identifier 'getLongLongChildAttrib'
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(158) : error C2501: 'SimpleXML::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SimpleXML.h(161) : warning C4183: 'getLongLongChildAttrib': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\SimpleXML.cpp(309) : fatal error C1903: unable to recover from previous error(s); stopping compilation
StdAfx.cpp
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2039: 'btowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2873: 'btowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2039: 'mbrlen' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2873: 'mbrlen' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2039: 'mbrtowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2873: 'mbrtowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2039: 'mbsrtowcs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2873: 'mbsrtowcs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2039: 'wcrtomb' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2873: 'wcrtomb' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2039: 'wcsrtombs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2873: 'wcsrtombs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2039: 'wctob' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2873: 'wctob' : symbol cannot be used in a using-declaration
StringTokenizer.cpp
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2039: 'btowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2873: 'btowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2039: 'mbrlen' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2873: 'mbrlen' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2039: 'mbrtowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2873: 'mbrtowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2039: 'mbsrtowcs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2873: 'mbsrtowcs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2039: 'wcrtomb' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2873: 'wcrtomb' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2039: 'wcsrtombs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2873: 'wcsrtombs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2039: 'wctob' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2873: 'wctob' : symbol cannot be used in a using-declaration
Util.cpp
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2039: 'btowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(128) : error C2873: 'btowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2039: 'mbrlen' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(134) : error C2873: 'mbrlen' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2039: 'mbrtowc' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(135) : error C2873: 'mbrtowc' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2039: 'mbsrtowcs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(136) : error C2873: 'mbsrtowcs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2039: 'wcrtomb' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(137) : error C2873: 'wcrtomb' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2039: 'wcsrtombs' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(138) : error C2873: 'wcsrtombs' : symbol cannot be used in a using-declaration
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2039: 'wctob' : is not a member of 'std'
c:\Program Files\Microsoft Visual Studio 8\STLPort\cwchar(222) : error C2873: 'wctob' : symbol cannot be used in a using-declaration
g:\DCPlusPlus-0.401-src\client\Util.h(266) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\Util.h(268) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\Util.h(281) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\Util.h(303) : error C2146: syntax error : missing ';' before identifier 'toLower'
g:\DCPlusPlus-0.401-src\client\Util.h(303) : error C2061: syntax error : identifier 'u_int8_t'
g:\DCPlusPlus-0.401-src\client\Util.h(303) : warning C4183: 'toLower': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(309) : error C2146: syntax error : missing ';' before identifier 'toInt64'
g:\DCPlusPlus-0.401-src\client\Util.h(315) : warning C4183: 'toInt64': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(329) : error C2143: syntax error : missing ',' before '&'
g:\DCPlusPlus-0.401-src\client\Util.h(366) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(371) : error C2535: '_STL::string Util::toString(const int)' : member function already defined or declared
g:\DCPlusPlus-0.401-src\client\Util.h(329) : see declaration of 'Util::toString'
g:\DCPlusPlus-0.401-src\client\Util.h(493) : error C2146: syntax error : missing ';' before identifier 'rand'
g:\DCPlusPlus-0.401-src\client\Util.h(493) : warning C4183: 'rand': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2146: syntax error : missing ';' before identifier 'rand'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2086: 'int Util::u_int32_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : error C2535: 'int Util::rand(void)' : member function already defined or declared
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::rand'
g:\DCPlusPlus-0.401-src\client\Util.h(494) : warning C4183: 'rand': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2146: syntax error : missing ';' before identifier 'rand'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2086: 'int Util::u_int32_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : error C2535: 'int Util::rand(void)' : member function already defined or declared
g:\DCPlusPlus-0.401-src\client\Util.h(493) : see declaration of 'Util::rand'
g:\DCPlusPlus-0.401-src\client\Util.h(495) : warning C4183: 'rand': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\Util.h(504) : error C2146: syntax error : missing ';' before identifier 'cmp'
g:\DCPlusPlus-0.401-src\client\Util.h(504) : error C2501: 'Util::cmp' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Util.h(505) : error C2146: syntax error : missing ';' before identifier 'cmpi'
g:\DCPlusPlus-0.401-src\client\Util.h(505) : error C2086: 'int Util::int8_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.h(504) : see declaration of 'Util::int8_t'
g:\DCPlusPlus-0.401-src\client\Util.h(505) : error C2501: 'Util::cmpi' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Thread.h(64) : error C2061: syntax error : identifier 'u_int32_t'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(91) : error C2146: syntax error : missing ';' before identifier 'get'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(91) : error C2501: 'SettingsManager::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(93) : warning C4183: 'get': missing return type; assumed to be a member function returning 'int'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(126) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(150) : error C2061: syntax error : identifier 'int64_t'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(174) : error C2146: syntax error : missing ';' before identifier 'int64Settings'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(174) : error C2501: 'SettingsManager::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(174) : error C2501: 'SettingsManager::int64Settings' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(177) : error C2146: syntax error : missing ';' before identifier 'int64Defaults'
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(177) : error C2501: 'SettingsManager::int64_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\SettingsManager.h(177) : error C2501: 'SettingsManager::int64Defaults' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Util.cpp(47) : error C2039: 'cmp' : is not a member of 'Util'
g:\DCPlusPlus-0.401-src\client\Util.h(108) : see declaration of 'Util'
g:\DCPlusPlus-0.401-src\client\Util.cpp(47) : error C2146: syntax error : missing ';' before identifier 'cmp'
g:\DCPlusPlus-0.401-src\client\Util.cpp(47) : error C2501: 'int8_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Util.cpp(47) : error C2501: 'cmp' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Util.cpp(48) : error C2039: 'cmpi' : is not a member of 'Util'
g:\DCPlusPlus-0.401-src\client\Util.h(108) : see declaration of 'Util'
g:\DCPlusPlus-0.401-src\client\Util.cpp(48) : error C2146: syntax error : missing ';' before identifier 'cmpi'
g:\DCPlusPlus-0.401-src\client\Util.cpp(48) : error C2501: 'int8_t' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Util.cpp(48) : error C2086: 'int int8_t' : redefinition
g:\DCPlusPlus-0.401-src\client\Util.cpp(47) : see declaration of 'int8_t'
g:\DCPlusPlus-0.401-src\client\Util.cpp(48) : error C2501: 'cmpi' : missing storage-class or type specifiers
g:\DCPlusPlus-0.401-src\client\Util.cpp(68) : error C2143: syntax error : missing ';' before 'strncmp'
g:\DCPlusPlus-0.401-src\client\Util.cpp(69) : error C2143: syntax error : missing ';' before 'strncmp'
g:\DCPlusPlus-0.401-src\client\Util.cpp(236) : error C2146: syntax error : missing ')' before identifier 'aBytes'
g:\DCPlusPlus-0.401-src\client\Util.cpp(236) : error C2761: 'formatBytes' : member function redeclaration not allowed
g:\DCPlusPlus-0.401-src\client\Util.cpp(236) : error C2059: syntax error : ')'
g:\DCPlusPlus-0.401-src\client\Util.cpp(236) : error C2143: syntax error : missing ';' before '{'
g:\DCPlusPlus-0.401-src\client\Util.cpp(236) : error C2447: '{' : missing function header (old-style formal list?)
g:\DCPlusPlus-0.401-src\client\Util.cpp(506) : error C2143: syntax error : missing ';' before 'Util::rand'
g:\DCPlusPlus-0.401-src\client\Util.cpp(506) : error C2501: 'u_int32_t' : missing storage-class or type specifiers
Generating Code...


************************************************************************************
Sorry its so big. any help would be great.. Thanks.

Mike..

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-06-05 04:25

Have you followed the instructions in compile.txt?
The world is coming to an end. Please log off.

DC++ Guide | Words

Eliminator
Posts: 6
Joined: 2004-06-05 03:23
Location: USA Florida
Contact:

Post by Eliminator » 2004-06-05 04:44

TheParanoidOne wrote:Have you followed the instructions in compile.txt?
Yes, I read them over and over and over. I have done everything I could think of.

Mike.

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 02:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2004-06-05 05:15

It would be very intressting to know what compiler you use as it says Visual Studio 8 and I though the latestr was 7.1. And you have probasbly not included stlport properly as it try to use the stlport that comes with Visual Studio.

Eliminator
Posts: 6
Joined: 2004-06-05 03:23
Location: USA Florida
Contact:

Post by Eliminator » 2004-06-05 05:35

joakim_tosteberg wrote:It would be very intressting to know what compiler you use as it says Visual Studio 8 and I though the latestr was 7.1. And you have probasbly not included stlport properly as it try to use the stlport that comes with Visual Studio.

I'm using This... I have VS6 VS7and VS8 But only VS6 and VS8 are installed.
VS8Beta..

Image

and can you explaine to me how I couldnt have STLPORT installed correctly.
I fallowed every direction best to my knoledge and searched on this forums over and over,,,


MIke..

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-06-05 05:49

Can you post a screenshot of your includes please.
The world is coming to an end. Please log off.

DC++ Guide | Words

Eliminator
Posts: 6
Joined: 2004-06-05 03:23
Location: USA Florida
Contact:

Post by Eliminator » 2004-06-05 06:34

TheParanoidOne wrote:Can you post a screenshot of your includes please.
Image

There ya go.. thats what I have.

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-06-05 06:46

Is that the STLPort from the DC++ website? If so, what version?
The world is coming to an end. Please log off.

DC++ Guide | Words

Eliminator
Posts: 6
Joined: 2004-06-05 03:23
Location: USA Florida
Contact:

Post by Eliminator » 2004-06-05 07:00

TheParanoidOne wrote:Is that the STLPort from the DC++ website? If so, what version?
DCPlusPlus-STLPort-4.6
DCPlusPlus-wtl7.1-src

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-06-05 08:11

I don't think any one of us are MSDN subscribers, or whatever is necessary to have Microsoft give you a test copy of Visual Studio 2005. It looks like the STLPort and DC++ will require changes, just like they did when we started using Visual Studio .NET 2003.

Eliminator
Posts: 6
Joined: 2004-06-05 03:23
Location: USA Florida
Contact:

Post by Eliminator » 2004-06-08 04:46

ohh come on, Nobody else has any other ideas? or do I just gota wait.. there has to be someone out there that might be able to give me an idea on how to compile this without 400 errors..


Mike

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-06-08 09:35

Eliminator wrote:ohh come on, Nobody else has any other ideas? or do I just gota wait.. there has to be someone out there that might be able to give me an idea on how to compile this without 400 errors..
The idea is to use a supported version of Visual Studio, or manually fix the STLPort issues and then see if anything comes up. In particular, there are VS version number checks in stlport that control its behavior.

Locked