hi nicolas, hi thomas ...
after this:
*** msd.h.~1.8.~ Mon May 9 16:12:19 2005 --- msd.h Wed May 11 16:22:19 2005
*** 69,75 **** public: void insert(Link<N> *l) { ! for(typename LinkList::iterator it = begin(); it != end(); ++it) if(*it == l) return; // not found -> add push_back(l); --- 69,76 ---- public: void insert(Link<N> *l) { ! for(typename LinkList::iterator it = this->begin(); ! it != this->end(); ++it) if(*it == l) return; // not found -> add push_back(l);
*** 77,89 ****
void erase(Link<N> *l)
{
! for(typename LinkList::iterator it = begin(); it != end(); ++it)
if(*it == l) {
// found
std::vector<Link<N> *>::erase(it);
return;
}
}
};
template<int N>
--- 78,93 ----
void erase(Link<N> *l)
{
! for(typename LinkList::iterator it = this->begin();
! it != this->end(); ++it)
if(*it == l) {
// found
std::vector<Link<N> *>::erase(it);
return;
}
}
};
template<int N>
the it almost compiled ...
the remaining problems are these:
g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -funroll-loops -fpermissive -march=pentium4 -pthread -fPIC -DFLEXT_SYS=2 -I/usr/local/src/pd/src -I/usr/local/include/flext main.cpp -o pd-linux/release-single/main.opp main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists main.cpp:3: error: too few template-parameter-lists make[1]: *** [pd-linux/release-single/main.opp] Error 1 make[1]: Leaving directory `/home/tim/pd/externals/nusmuk/msd'
any idea?
thnx ... t