Build fixes for gcc 3.4.1 support

This commit is contained in:
Robert Osfield
2004-08-01 08:26:44 +00:00
parent 8d1b390c7e
commit 4d9bd4d825
6 changed files with 78 additions and 75 deletions

View File

@@ -894,9 +894,9 @@ namespace lwo2
for (int i=0; i<4; ++i) tag += *(it++);
unsigned int len = ((static_cast<unsigned int>(*(it++)) & 0xFF) << 8) |
(static_cast<unsigned int>(*(it++)) & 0xFF);
os() << "DEBUG INFO: lwo2parser: reading subchunk " << tag << ", length = " << len << ", context = " << context << "\n";
this->os() << "DEBUG INFO: lwo2parser: reading subchunk " << tag << ", length = " << len << ", context = " << context << "\n";
iff::Chunk *chk = parse_chunk_data(tag, context, it, it+len);
if (!chk) os() << "DEBUG INFO: lwo2parser: \tprevious subchunk not handled\n";
if (!chk) this->os() << "DEBUG INFO: lwo2parser: \tprevious subchunk not handled\n";
it += len;
if ((len % 2) != 0) ++it;
return chk;

View File

@@ -369,7 +369,7 @@ inline void graph_array<nodetype, arctype>::erase_arcs(const node_iterator & Ini
template <class nodetype, class arctype>
inline void graph_array<nodetype, arctype>::erase_arcs() {
m_NbArcs = 0;
for (nodeid i = 0; i < Size(); ++i)
for (nodeid i = 0; i < this->Size(); ++i)
m_Nodes[i].m_OutArcs.clear();
}