On Tue, 2008-07-08 at 22:47 -0700, Ge Wang wrote:
Hi Nando!
Thanks for looking into this on your busy schedule! I believe the error below can also be fixed by including <algorithm> near the top of util_opsc.cpp.
That and a couple more patches did it. Complete patch attached, I imagine with this it will build on other gcc 4.3 based systems as well (this is for Fedora 9). On to chuck friends now (audicle, etc)... -- Fernando
Just a heads up: we'll be releaseing chuck-1.2.1.2 in the next few days. We do our best to make sure it's gcc-4.3 compliant.
Thanks again!
Best wishes, Ge!
The error:
----
Yes, very easy, and then the third error (there may be more) was no longer easy to fix:
util_opsc.cpp: In member function 'bool UDP_Port_Listener::add(UDP_Subscriber*)': util_opsc.cpp:1169: error: no matching function for call to 'find(__gnu_cxx::__normal_iterator
> >, __gnu_cxx::__normal_iterator > >, UDP_Subscriber*&)' util_opsc.cpp: In member function 'bool UDP_Port_Listener::drop(UDP_Subscriber*)': util_opsc.cpp:1188: error: no matching function for call to 'find(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >, UDP_Subscriber*&)'