In file included from CvStructs.h:15:0,
from CvGameCoreDLL.h:273,
from BetterBTSAI.cpp:1:
CvGlobals.h:3725:0: warning: "NUM_GAMEOPTION_TYPES" redefined [enabled by default]
#define NUM_GAMEOPTION_TYPES (GC.getNumGameOptions())
^
In file included from CvGameCoreDLL.h:272:0,
from BetterBTSAI.cpp:1:
CvEnums.h:974:0: note: this is the location of the previous definition
#define NUM_GAMEOPTION_TYPES GC.getNumGameOptionInfos()
^
In file included from CvTaggedSaveFormatWrapper.h:3:0,
from FFreeListTrashArray.h:24,
from CvGameCoreDLL.h:268,
from BetterBTSAI.cpp:1:
CvString.h:31:18: error: 'FStringA' does not name a type
CvWString(const FStringA& s) { Copy(s.GetCString()); }
^
CvString.h:32:18: error: 'FStringW' does not name a type
CvWString(const FStringW& s) { assign(s.GetCString()); }
^
CvString.h:32:2: error: 'CvWString::CvWString(const int&)' cannot be overloaded
CvWString(const FStringW& s) { assign(s.GetCString()); }
^
CvString.h:31:2: error: with 'CvWString::CvWString(const int&)'
CvWString(const FStringA& s) { Copy(s.GetCString()); }
^
CvString.h:67:36: error: 'FStringW' does not name a type
const CvWString& operator=( const FStringW& s) { assign(s.GetCString()); return *this; }
^
CvString.h:68:36: error: 'FStringA' does not name a type
const CvWString& operator=( const FStringA& w) { Copy(w.GetCString()); return *this; }
^
CvString.h:68:19: error: 'const CvWString& CvWString:
perator=(const int&)' cannot be overloaded
const CvWString& operator=( const FStringA& w) { Copy(w.GetCString()); return *this; }
^
CvString.h:67:19: error: with 'const CvWString& CvWString:
perator=(const int&)'
const CvWString& operator=( const FStringW& s) { assign(s.GetCString()); return *this; }
^
CvString.h: In constructor 'CvWString::CvWString(const int&)':
CvString.h:31:40: error: request for member 'GetCString' in 's', which is of non-class type 'const int'
CvWString(const FStringA& s) { Copy(s.GetCString()); }
^
CvString.h: In constructor 'CvWString::CvWString(const int&)':
CvString.h:32:42: error: request for member 'GetCString' in 's', which is of non-class type 'const int'
CvWString(const FStringW& s) { assign(s.GetCString()); }
^
CvString.h: In member function 'const CvWString& CvWString:
perator=(const int&)':
CvString.h:67:60: error: request for member 'GetCString' in 's', which is of non-class type 'const int'
const CvWString& operator=( const FStringW& s) { assign(s.GetCString()); return *this; }
^
CvString.h: In member function 'const CvWString& CvWString:
perator=(const int&)':
CvString.h:68:58: error: request for member 'GetCString' in 'w', which is of non-class type 'const int'
const CvWString& operator=( const FStringA& w) { Copy(w.GetCString()); return *this; }
^
In file included from FFreeListTrashArray.h:24:0,
from CvGameCoreDLL.h:268,
from BetterBTSAI.cpp:1:
CvTaggedSaveFormatWrapper.h: At global scope:
CvTaggedSaveFormatWrapper.h:274:2: error: 'stdext' does not name a type
stdext::hash_map<std::string,DictionaryEntry> m_reverseIdDictionary;
^
In file included from CvGameCoreDLL.h:268:0,
from BetterBTSAI.cpp:1:
FFreeListTrashArray.h: In member function 'int FFreeListTrashArray<T>::getNumSlots() const':
FFreeListTrashArray.h:54:10: error: 'm_iNumSlots' was not declared in this scope
return m_iNumSlots;
^
FFreeListTrashArray.h: In member function 'int FFreeListTrashArray<T>::getLastIndex() const':
FFreeListTrashArray.h:59:10: error: 'm_iLastIndex' was not declared in this scope
return m_iLastIndex;
^
FFreeListTrashArray.h: In member function 'void FFreeListTrashArray<T>::setLastIndex(int)':
FFreeListTrashArray.h:63:3: error: 'm_iLastIndex' was not declared in this scope
m_iLastIndex = iNewValue;
^
FFreeListTrashArray.h: In member function 'int FFreeListTrashArray<T>::getFreeListHead() const':
FFreeListTrashArray.h:68:10: error: 'm_iFreeListHead' was not declared in this scope
return m_iFreeListHead;
^
FFreeListTrashArray.h: In member function 'void FFreeListTrashArray<T>::setFreeListHead(int)':
FFreeListTrashArray.h:72:3: error: 'm_iFreeListHead' was not declared in this scope
m_iFreeListHead = iNewValue;
^
FFreeListTrashArray.h: In member function 'int FFreeListTrashArray<T>::getFreeListCount() const':
FFreeListTrashArray.h:77:10: error: 'm_iFreeListCount' was not declared in this scope
return m_iFreeListCount;
^
FFreeListTrashArray.h: In member function 'void FFreeListTrashArray<T>::setFreeListCount(int)':
FFreeListTrashArray.h:81:3: error: 'm_iFreeListCount' was not declared in this scope
m_iFreeListCount = iNewValue;
^
In file included from include/boost/assert.hpp:35:0,
from include/boost/shared_ptr.hpp:23,
from include/boost/python/converter/shared_ptr_to_python.hpp:10,
from include/boost/python/converter/arg_to_python.hpp:15,
from include/boost/python/call.hpp:15,
from include/boost/python/object_core.hpp:12,
from include/boost/python/object.hpp:9,
from include/boost/python/list.hpp:10,
from CvGameCoreDLL.h:254,
from BetterBTSAI.cpp:1:
FFreeListTrashArray.h: In member function 'virtual void FFreeListTrashArray<T>::init(int)':
FFreeListTrashArray.h:180:10: error: 'm_iNumSlots' was not declared in this scope
assert((m_iNumSlots <= FLTA_MAX_BUCKETS) && "FFreeListTrashArray<T>::init() size too large");
^
In file included from CvGameCoreDLL.h:268:0,
from BetterBTSAI.cpp:1:
FFreeListTrashArray.h:185:2: error: 'm_iLastIndex' was not declared in this scope
m_iLastIndex = FFreeList::INVALID_INDEX;
^
FFreeListTrashArray.h:186:2: error: 'm_iFreeListHead' was not declared in this scope
m_iFreeListHead = FFreeList::INVALID_INDEX;
^
FFreeListTrashArray.h:187:2: error: 'm_iFreeListCount' was not declared in this scope
m_iFreeListCount = 0;
^
FFreeListTrashArray.h: In member function 'T* FFreeListTrashArray<T>::add()':
FFreeListTrashArray.h:229:7: error: 'm_iLastIndex' was not declared in this scope
if ((m_iLastIndex == m_iNumSlots - 1) &&
^
FFreeListTrashArray.h:229:23: error: 'm_iNumSlots' was not declared in this scope
if ((m_iLastIndex == m_iNumSlots - 1) &&
^
FFreeListTrashArray.h:230:4: error: 'm_iFreeListCount' was not declared in this scope
(m_iFreeListCount == 0))
^
FFreeListTrashArray.h:241:6: error: 'm_iFreeListCount' was not declared in this scope
if (m_iFreeListCount > 0)
^
FFreeListTrashArray.h:246:12: error: 'm_iFreeListHead' was not declared in this scope
iIndex = m_iFreeListHead;
^
FFreeListTrashArray.h:277:3: error: 'm_iLastIndex' was not declared in this scope
m_iLastIndex++;
^
FFreeListTrashArray.h: In member function 'virtual T* FFreeListTrashArray<T>::getAt(int) const':
FFreeListTrashArray.h:318:17: error: 'm_iLastIndex' was not declared in this scope
if ((iIndex <= m_iLastIndex) &&
^
FFreeListTrashArray.h: In member function 'bool FFreeListTrashArray<T>::remove(T*)':
FFreeListTrashArray.h:345:22: error: 'm_iLastIndex' was not declared in this scope
for (iI = 0; iI <= m_iLastIndex; iI++)
^
FFreeListTrashArray.h: In member function 'bool FFreeListTrashArray<T>::removeAt(int)':
FFreeListTrashArray.h:377:17: error: 'm_iLastIndex' was not declared in this scope
if ((iIndex <= m_iLastIndex) &&
^
FFreeListTrashArray.h:385:38: error: 'm_iFreeListHead' was not declared in this scope
m_pArray[iIndex].iNextFreeIndex = m_iFreeListHead;
^
FFreeListTrashArray.h:387:4: error: 'm_iFreeListCount' was not declared in this scope
m_iFreeListCount++;
^
FFreeListTrashArray.h: In member function 'virtual void FFreeListTrashArray<T>::removeAll()':
FFreeListTrashArray.h:415:2: error: 'm_iLastIndex' was not declared in this scope
m_iLastIndex = FFreeList::INVALID_INDEX;
^
FFreeListTrashArray.h:416:2: error: 'm_iFreeListHead' was not declared in this scope
m_iFreeListHead = FFreeList::INVALID_INDEX;
^
FFreeListTrashArray.h:417:2: error: 'm_iFreeListCount' was not declared in this scope
m_iFreeListCount = 0;
^
FFreeListTrashArray.h:419:20: error: 'm_iNumSlots' was not declared in this scope
for (iI = 0; iI < m_iNumSlots; iI++)
^
In file included from include/boost/assert.hpp:35:0,
from include/boost/shared_ptr.hpp:23,
from include/boost/python/converter/shared_ptr_to_python.hpp:10,
from include/boost/python/converter/arg_to_python.hpp:15,
from include/boost/python/call.hpp:15,
from include/boost/python/object_core.hpp:12,
from include/boost/python/object.hpp:9,
from include/boost/python/list.hpp:10,
from CvGameCoreDLL.h:254,
from BetterBTSAI.cpp:1:
FFreeListTrashArray.h: In member function 'void FFreeListTrashArray<T>::load(T*)':
FFreeListTrashArray.h:445:19: error: 'm_iLastIndex' was not declared in this scope
assert(iIndex <= m_iLastIndex);
^
In file included from CvGameCoreDLL.h:268:0,
from BetterBTSAI.cpp:1:
FFreeListTrashArray.h: In member function 'virtual void FFreeListTrashArray<T>::growArray()':
FFreeListTrashArray.h:467:17: error: 'm_iNumSlots' was not declared in this scope
iOldNumSlots = m_iNumSlots;
^
In file included from FFreeListTrashArray.h:24:0,
from CvGameCoreDLL.h:268,
from BetterBTSAI.cpp:1:
FFreeListTrashArray.h: In member function 'void FFreeListTrashArray<T>::Write(FDataStreamBase*)':
FFreeListTrashArray.h:557:68: warning: there are no arguments to 'getCount' that depend on a template parameter, so a declaration of 'getCount' must be available [-fpermissive]
WRAPPER_WRITE_DECORATED(wrapper, "FFreeListTrashArray", getCount(), "count" );
^
CvTaggedSaveFormatWrapper.h:290:173: note: in definition of macro 'WRAPPER_WRITE_DECORATED'
#define WRAPPER_WRITE_DECORATED(wrapper,className,name,saveName) { static int _idHint; static int _saveSeq = -1; (wrapper).Write(className "::" saveName, _idHint, _saveSeq,name); }
^
In file included from CvGameCoreDLL.h:268:0,
from BetterBTSAI.cpp:1:
FFreeListTrashArray.h:559:37: warning: there are no arguments to 'getIndexAfterLast' that depend on a template parameter, so a declaration of 'getIndexAfterLast' must be available [-fpermissive]
for ( i = 0; i < getIndexAfterLast(); i++ )
^
In file included from CvGameCoreDLL.h:269:0,
from BetterBTSAI.cpp:1:
FFreeListArray.h: In constructor 'FFreeListArray<T>::FFreeListArray()':
FFreeListArray.h:71:5: error: 'm_iFreeListHead' was not declared in this scope
m_iFreeListHead = FFreeList::FREE_LIST_INDEX;
^
FFreeListArray.h:72:2: error: 'm_iFreeListCount' was not declared in this scope
m_iFreeListCount = 0;
^
FFreeListArray.h:73:2: error: 'm_iLastIndex' was not declared in this scope
m_iLastIndex = FFreeList::INVALID_INDEX;
^
FFreeListArray.h:74:2: error: 'm_iNumSlots' was not declared in this scope
m_iNumSlots = 0;
^
FFreeListArray.h: In member function 'virtual void FFreeListArray<T>::init(int)':
FFreeListArray.h:94:2: error: 'm_iFreeListHead' was not declared in this scope
m_iFreeListHead = FLA_FREE_LIST_INDEX;
^
FFreeListArray.h:94:20: error: 'FLA_FREE_LIST_INDEX' was not declared in this scope
m_iFreeListHead = FLA_FREE_LIST_INDEX;
^
FFreeListArray.h:95:2: error: 'm_iFreeListCount' was not declared in this scope
m_iFreeListCount = 0;
^
FFreeListArray.h:96:2: error: 'm_iLastIndex' was not declared in this scope
m_iLastIndex = FFreeList::INVALID_INDEX;
^
FFreeListArray.h:97:2: error: 'm_iNumSlots' was not declared in this scope
m_iNumSlots = iNumSlots;
^
FFreeListArray.h: In member function 'void FFreeListArray<T>::insert(T)':
FFreeListArray.h:133:7: error: 'm_iLastIndex' was not declared in this scope
if ((m_iLastIndex == m_iNumSlots - 1) &&
^
FFreeListArray.h:133:23: error: 'm_iNumSlots' was not declared in this scope
if ((m_iLastIndex == m_iNumSlots - 1) &&
^
FFreeListArray.h:134:4: error: 'm_iFreeListCount' was not declared in this scope
(m_iFreeListCount == 0))
^
FFreeListArray.h:139:6: error: 'm_iFreeListCount' was not declared in this scope
if (m_iFreeListCount > 0)
^
FFreeListArray.h:141:12: error: 'm_iFreeListHead' was not declared in this scope
iIndex = m_iFreeListHead;
^
FFreeListArray.h:147:3: error: 'm_iLastIndex' was not declared in this scope
m_iLastIndex++;
^
FFreeListArray.h: In member function 'void FFreeListArray<T>::insertAt(T, int)':
FFreeListArray.h:166:16: error: 'm_iLastIndex' was not declared in this scope
if (iIndex <= m_iLastIndex)
^
FFreeListArray.h:175:18: error: 'm_iNumSlots' was not declared in this scope
while (iIndex > m_iNumSlots - 1)
^
FFreeListArray.h:180:15: error: 'm_iLastIndex' was not declared in this scope
if (iIndex > m_iLastIndex)
^
FFreeListArray.h:185:44: error: 'm_iFreeListHead' was not declared in this scope
m_pArray[m_iLastIndex].iNextFreeIndex = m_iFreeListHead;
^
FFreeListArray.h:187:4: error: 'm_iFreeListCount' was not declared in this scope
m_iFreeListCount++;
^
FFreeListArray.h:195:6: error: 'm_iFreeListHead' was not declared in this scope
if (m_iFreeListHead != FLA_FREE_LIST_INDEX)
^
FFreeListArray.h:195:25: error: 'FLA_FREE_LIST_INDEX' was not declared in this scope
if (m_iFreeListHead != FLA_FREE_LIST_INDEX)
^
FFreeListArray.h:200:4: error: 'm_iFreeListCount' was not declared in this scope
m_iFreeListCount--;
^
FFreeListArray.h:211:6: error: 'm_iFreeListCount' was not declared in this scope
m_iFreeListCount--;
^
FFreeListArray.h: In member function 'void FFreeListArray<T>::insertFirst(T)':
FFreeListArray.h:233:7: error: 'm_iLastIndex' was not declared in this scope
if ((m_iLastIndex == m_iNumSlots - 1) &&
^
FFreeListArray.h:233:23: error: 'm_iNumSlots' was not declared in this scope
if ((m_iLastIndex == m_iNumSlots - 1) &&
^
FFreeListArray.h:234:4: error: 'm_iFreeListCount' was not declared in this scope
(m_iFreeListCount == 0))
^