Sign in to follow this  
Denisius

Simple MUD compiling problem

Recommended Posts

When i try to compile Simple MUD from Ron penton's book, "MUD Game Programming", i get this list of errors. I use MS2005.
------ Build started: Project: SimpleMUD, Configuration: Debug Win32 ------
Compiling...
DatabasePointer.cpp
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
c:\mud game programming\simplemud\simplemud\playerdatabase.h(47) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(50) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playeractive>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playeractive
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\playerdatabase.h(54) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(57) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playerloggedin>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playerloggedin
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
Enemy.cpp
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
EnemyDatabase.cpp
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\enemydatabase.cpp(94) : error C2079: 'itr' uses undefined class 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Enemy
        ]
c:\mud game programming\simplemud\simplemud\enemydatabase.cpp(94) : error C2440: 'initializing' : cannot convert from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'int'
        with
        [
            datatype=SimpleMUD::Enemy
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\enemydatabase.cpp(95) : error C2677: binary '!=' : no global operator found which takes type 'SimpleMUD::EntityDatabase<datatype>::iterator' (or there is no acceptable conversion)
        with
        [
            datatype=SimpleMUD::Enemy
        ]
c:\mud game programming\simplemud\simplemud\enemydatabase.cpp(95) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Game.cpp
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\playerdatabase.h(47) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(50) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playeractive>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playeractive
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\playerdatabase.h(54) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(57) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playerloggedin>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playerloggedin
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\game.cpp(254) : error C2079: 'itr' uses undefined class 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\game.cpp(255) : error C2440: 'initializing' : cannot convert from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'int'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\game.cpp(257) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'int' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\platformsdk\include\guiddef.h(192): could be 'int operator ==(const GUID &,const GUID &)'
        while trying to match the argument list '(int, SimpleMUD::EntityDatabase<datatype>::iterator)'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\game.cpp(263) : error C2227: left of '->Rank' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(269) : error C2227: left of '->Conn' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(269) : error C2227: left of '->Close' must point to class/struct/union/generic type
c:\mud game programming\simplemud\simplemud\game.cpp(270) : error C2227: left of '->Name' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(290) : error C2079: 'itr' uses undefined class 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\game.cpp(290) : error C2440: 'initializing' : cannot convert from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'int'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\game.cpp(292) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'int' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\platformsdk\include\guiddef.h(192): could be 'int operator ==(const GUID &,const GUID &)'
        while trying to match the argument list '(int, SimpleMUD::EntityDatabase<datatype>::iterator)'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\game.cpp(301) : error C2227: left of '->Rank' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(302) : error C2227: left of '->Name' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(321) : error C2079: 'itr' uses undefined class 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\game.cpp(321) : error C2440: 'initializing' : cannot convert from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'int'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\game.cpp(323) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'int' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\platformsdk\include\guiddef.h(192): could be 'int operator ==(const GUID &,const GUID &)'
        while trying to match the argument list '(int, SimpleMUD::EntityDatabase<datatype>::iterator)'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\game.cpp(329) : error C2227: left of '->Active' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(330) : error C2227: left of '->Conn' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(330) : error C2227: left of '->Handler' must point to class/struct/union/generic type
c:\mud game programming\simplemud\simplemud\game.cpp(330) : error C2227: left of '->Leave' must point to class/struct/union/generic type
c:\mud game programming\simplemud\simplemud\game.cpp(331) : error C2227: left of '->Name' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(332) : error C2227: left of '->Conn' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(332) : error C2227: left of '->Handler' must point to class/struct/union/generic type
c:\mud game programming\simplemud\simplemud\game.cpp(332) : error C2227: left of '->Enter' must point to class/struct/union/generic type
c:\mud game programming\simplemud\simplemud\game.cpp(335) : error C2227: left of '->Name' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(455) : error C2664: 'BasicLib::operate_on_if' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\game.cpp(466) : error C2664: 'BasicLib::operate_on_if' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\game.cpp(492) : error C2079: 'itr' uses undefined class 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\game.cpp(492) : error C2440: 'initializing' : cannot convert from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'int'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\game.cpp(495) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'int' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\platformsdk\include\guiddef.h(192): could be 'int operator ==(const GUID &,const GUID &)'
        while trying to match the argument list '(int, SimpleMUD::EntityDatabase<datatype>::iterator)'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\game.cpp(501) : error C2227: left of '->SendString' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(504) : error C2227: left of '->Name' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\game.cpp(562) : error C2664: 'BasicLib::operate_on_if' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\game.cpp(570) : error C2664: 'BasicLib::operate_on_if' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\game.cpp(1111) : warning C4267: 'argument' : conversion from 'size_t' to 'BasicLib::sint32', possible loss of data
GameLoop.cpp
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
c:\mud game programming\simplemud\simplemud\playerdatabase.h(47) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(50) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playeractive>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playeractive
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\playerdatabase.h(54) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(57) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playerloggedin>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playerloggedin
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\gameloop.cpp(120) : error C2079: 'itr' uses undefined class 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Enemy
        ]
c:\mud game programming\simplemud\simplemud\gameloop.cpp(120) : error C2440: 'initializing' : cannot convert from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'int'
        with
        [
            datatype=SimpleMUD::Enemy
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\gameloop.cpp(123) : error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'int' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\platformsdk\include\guiddef.h(197): could be 'int operator !=(const GUID &,const GUID &)'
        while trying to match the argument list '(int, SimpleMUD::EntityDatabase<datatype>::iterator)'
        with
        [
            datatype=SimpleMUD::Enemy
        ]
c:\mud game programming\simplemud\simplemud\gameloop.cpp(123) : fatal error C1903: unable to recover from previous error(s); stopping compilation
ItemDatabase.cpp
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
Logon.cpp
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\playerdatabase.h(47) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(50) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playeractive>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playeractive
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\playerdatabase.h(54) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(57) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playerloggedin>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playerloggedin
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\logon.cpp(45) : error C2079: 'itr' uses undefined class 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\logon.cpp(45) : error C2440: 'initializing' : cannot convert from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'int'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\logon.cpp(46) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'int' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\platformsdk\include\guiddef.h(192): could be 'int operator ==(const GUID &,const GUID &)'
        while trying to match the argument list '(int, SimpleMUD::EntityDatabase<datatype>::iterator)'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\logon.cpp(61) : error C2227: left of '->Password' must point to class/struct/union/generic type
        type is 'int'
c:\mud game programming\simplemud\simplemud\logon.cpp(191) : error C2100: illegal indirection
c:\mud game programming\simplemud\simplemud\logon.cpp(191) : error C2440: 'initializing' : cannot convert from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::Player &'
        with
        [
            datatype=SimpleMUD::Player
        ]
Player.cpp
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
PlayerDatabase.cpp
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
c:\mud game programming\simplemud\simplemud\playerdatabase.h(47) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(50) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playeractive>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playeractive
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\playerdatabase.h(54) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(57) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playerloggedin>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playerloggedin
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\playerdatabase.cpp(70) : error C2079: 'itr' uses undefined class 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.cpp(70) : error C2440: 'initializing' : cannot convert from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'int'
        with
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\playerdatabase.cpp(72) : error C2678: binary '!=' : no operator found which takes a left-hand operand of type 'int' (or there is no acceptable conversion)
        c:\program files\microsoft visual studio 8\vc\platformsdk\include\guiddef.h(197): could be 'int operator !=(const GUID &,const GUID &)'
        while trying to match the argument list '(int, SimpleMUD::EntityDatabase<datatype>::iterator)'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.cpp(72) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Room.cpp
RoomDatabase.cpp
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
SimpleMUDLogs.cpp
StoreDatabase.cpp
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
Train.cpp
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\playerdatabase.h(47) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(50) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playeractive>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playeractive
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\playerdatabase.h(54) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(57) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playerloggedin>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playerloggedin
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
SocketLibErrors.cpp
SocketLibSocket.cpp
SocketLibSystem.cpp
SocketSet.cpp
Telnet.cpp
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
ThreadLibFunctions.cpp
Generating Code...
Compiling...
BasicLibRandom.cpp
BasicLibString.cpp
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(64) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(65) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(79) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(88) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(89) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(93) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(106) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(115) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(116) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(120) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
c:\mud game programming\libraries\basiclib\basiclibstring.cpp(123) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
BasicLibTime.cpp
c:\mud game programming\libraries\basiclib\basiclibtime.cpp(108) : warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 8\vc\include\time.inl(114) : see declaration of 'localtime'
c:\mud game programming\libraries\basiclib\basiclibtime.cpp(126) : warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 8\vc\include\time.inl(114) : see declaration of 'localtime'
SimpleMUD.cpp
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : warning C4346: 'std::list<SocketLib::Connection<protocol>>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\libraries\socketlib\connectionmanager.h(133) : see reference to class template instantiation 'SocketLib::ConnectionManager<protocol,defaulthandler>' being compiled
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C2146: syntax error : missing ';' before identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\libraries\socketlib\connectionmanager.h(110) : error C2061: syntax error : identifier 'clistitr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2065: 'clistitr' : undeclared identifier
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2146: syntax error : missing ')' before identifier 'p_itr'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2182: 'Close' : illegal use of type 'void'
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2470: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2072: 'SocketLib::ConnectionManager<protocol,defaulthandler>::Close' : initialization of a function
c:\mud game programming\libraries\socketlib\connectionmanager.h(213) : error C2059: syntax error : ')'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2143: syntax error : missing ';' before '{'
c:\mud game programming\libraries\socketlib\connectionmanager.h(234) : error C2447: '{' : missing function header (old-style formal list?)
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : warning C4346: 'std::map<SimpleMUD::entityid,datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>::iterator' being compiled
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(176) : see reference to class template instantiation 'SimpleMUD::EntityDatabase<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2061: syntax error : identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(47) : error C2535: 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator(void)' : member function already defined or declared
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(46) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator::iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : warning C4346: 'std::vector<datatype>::iterator' : dependent name is not a type
        prefix with 'typename' to indicate a type
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(206) : see reference to class template instantiation 'SimpleMUD::EntityDatabaseVector<datatype>' being compiled
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C2146: syntax error : missing ';' before identifier 'iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2146: syntax error : missing ';' before identifier 'begin'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(188) : warning C4183: 'begin': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2146: syntax error : missing ';' before identifier 'end'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2433: 'SimpleMUD::EntityDatabaseVector<datatype>::iterator' : 'inline' not permitted on data declarations
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C2086: 'std::vector<datatype>::iterator iterator' : redefinition
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(186) : see declaration of 'SimpleMUD::EntityDatabaseVector<datatype>::operator iterator'
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\mud game programming\simplemud\simplemud\entitydatabase.h(189) : warning C4183: 'end': missing return type; assumed to be a member function returning 'int'
c:\mud game programming\simplemud\simplemud\playerdatabase.h(47) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(50) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playeractive>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playeractive
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
c:\mud game programming\simplemud\simplemud\playerdatabase.h(54) : error C2027: use of undefined type 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
        c:\mud game programming\simplemud\simplemud\entitydatabase.h(38) : see declaration of 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            datatype=SimpleMUD::Player
        ]
c:\mud game programming\simplemud\simplemud\playerdatabase.h(57) : error C2664: 'iterator BasicLib::double_find_if<SimpleMUD::EntityDatabase<datatype>::iterator,SimpleMUD::matchentityfull,SimpleMUD::matchentity,SimpleMUD::playerloggedin>(iterator,iterator,firstpass,secondpass,qualify)' : cannot convert parameter 1 from 'SimpleMUD::EntityDatabase<datatype>::iterator' to 'SimpleMUD::EntityDatabase<datatype>::iterator'
        with
        [
            iterator=SimpleMUD::EntityDatabase<SimpleMUD::Player>::iterator,
            datatype=SimpleMUD::Player,
            firstpass=SimpleMUD::matchentityfull,
            secondpass=SimpleMUD::matchentity,
            qualify=SimpleMUD::playerloggedin
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        and
        [
            datatype=SimpleMUD::Player
        ]
        Source or target has incomplete type
Generating Code...
Build log was saved at "file://c:\MUD Game Programming\SimpleMUD\Debug\BuildLog.htm"
SimpleMUD - 365 error(s), 68 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

It probably started from something small. ;) Here is the link for the Simple Mud's source code: http://www.filefactory.com/file/af0261/

Share this post


Link to post
Share on other sites
The code was written for VS6 (I think) and VS7/7.1 (for sure). These compilers didn't follow the C++ specs correctly in a number of places. Fortunately, the errors and warnings you list are easy to fix based on the information they provide. For example, the error on line 47 (the first error) is raised because you haven't used "typename" before the use of "std::map<SimpleMUD::entityid,datatype>::iterator". You need to use "typename" in weird spots (if you aren't familiar with it, like I'm not), basically whenever you use the template parameter to make a new type (like the above, you use "datatype" to make instantiate std::map type and then get the iterator type). Anyway, if I recall correctly almost all of the errors in SimpleMUD were that sort. Goodluck!

P.S. Entry 38.15 in the CPP Faq Lite talks about this exact issue.
http://www.parashift.com/c++-faq-lite/templates.html

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this