Hello guys, i have 2 erros when i m compiling source
after i tried installing Target Information System, i did everything like everyone
and i get these errors, i m tired of looking how to solve them but no fix..
The errors are the next i m going to show u:
use of undeclared identifier 'typeof'; did you mean 'typeid'?
use of undeclared identifier 'v'
The file that has the error is item manager.cpp
The line is 862
// Drop Item Group
{
itertype(m_map_pkDropItemGroup) it;
it = m_map_pkDropItemGroup.find(pkChr->GetRaceNum());
if (it != m_map_pkDropItemGroup.end())
{
typeof(it->second->GetVector()) v = it->second->GetVector();
for (DWORD i = 0; i < v.size(); ++i)
{
item = CreateItem(v[i].dwVnum, v[i].iCount, 0, true);
if (item)
{
if (item->GetType() == ITEM_POLYMORPH)
{
if (item->GetVnum() == pkChr->GetPolymorphItemVnum())
{
item->SetSocket(0, pkChr->GetRaceNum());
}
}
vec_item.push_back(item);
}
}
}
}