TheLadiesOgre
Aspiring Codesmith
- Joined
- Jan 16, 2009
- Messages
- 505
cannot compile a debug dll:
1>CvUnit.cpp(10664) : error C2296: '>=' : illegal, left operand has type 'int (__thiscall CvUnit::* )(void) const'
1>CvUnit.cpp(10664) : error C2297: '>=' : illegal, right operand has type 'int (__thiscall CvUnit::* )(void) const'
1>NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual C++ Toolkit 2003/bin/cl.exe"' : return code '0x2'
Spoiler :Code:void CvUnit::changeVictoryAdjacentTileHeal(int iChange) { m_iVictoryAdjacentTileHeal += iChange; FAssert(getVictoryAdjacentTileHeal >= 0); }
Not quite sure what to do about that, I've haven't made a debug dll before, let me take a look at it, I'll post in a little