View Single Post
  #3  
Old 01-20-2006, 07:08 AM
Ibix
Sarnak
 
Join Date: Jan 2006
Posts: 40
Default

Quote:
Originally Posted by Ibix
141 occurrences of:

.\filename.cpp(###) : error C3861: 'mob_log': identifier not found
Okay, not sure HOW 'mob_log' got into the code. Doodman checked the cvs, which is where I pulled from, but maybe I edited it to say mob_log and totally forgot... I dunno... should have been '_log' instead of 'mob_log'... so, if anyone else is completely retarded and gets this error, that's how to fix it.

Quote:
Originally Posted by Ibix
Code:
1> .\entity.cpp(249) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::list<_Ty>::_Iterator<_Secure_validation>' (or there is no acceptable conversion)
1>        with
1>        [
1>            _Ty=Group *,
1>            _Secure_validation=true
1>        ]
1>        C:\Program Files\Microsoft Platform SDK\Include\guiddef.h(192): could be 'int operator ==(const GUID &,const GUID &)'
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include\list(281): or 'bool std::list<_Ty>::_Const_iterator<_Secure_validation>::operator ==(const std::list<_Ty>::_Const_iterator<_Secure_validation> &) const'
1>        with
1>        [
1>            _Ty=Group *,
1>            _Secure_validation=true
1>        ]
1>        while trying to match the argument list '(std::list<_Ty>::_Iterator<_Secure_validation>, int)'
1>        with
1>        [
1>            _Ty=Group *,
1>            _Secure_validation=true
1>        ]
And this was an error in the code that gcc doesn't pick up. Line 249 of Entity.cpp should have been:

if (*it == NULL)

instead of:

if (it == NULL)

Doodman pointed this out and also fixed it in the CVS. Doodman FTW!

I now have it (everything) building successfully with Visual C++.NET 2005 Express Edition and will be adding to/editing the Wiki to clarify with some of the stuff I ran into.
Reply With Quote