Hi
In file packet.h , I have added the following line:
typedef set<int> addr_set_t;
When I compile NS, I have the following error:
*****************************************
In file included from tcp-full.cc:91:
template.h:96: redefinition of `template <class Type>
void swap(Type &, Type &)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_algobase.h:78:
`template <class _Tp> void swap(_Tp &, _Tp &)'
previously declared here
template.h:96: redefinition of `void swap(Type &, Type
&)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_algobase.h:78:
`void swap(_Tp &, _Tp &)' previously defined here
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_relops.h:
In function `bool operator >=<TracedInt>(const
TracedInt &, const TracedInt &)':
tcp-full.cc:1040: instantiated from here
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_relops.h:53:
no match for `const TracedInt & < const TracedInt &'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_relops.h:53:
candidates are: operator <(int, int) <builtin>
make: *** [tcp-full.o] Erreur 1
****************************************
What is the origine of this error....Is there any one
hwo can help me
Thanks in advans
nadine
___________________________________________________________________________
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos
services préférés : vérifiez vos nouveaux mails, lancez vos recherches et
suivez l'actualité en temps réel.
Rendez-vous sur http://fr.yahoo.com/set