On Wed, 2008-07-09 at 10:42 +0200, Fernando Lopez-Lezcano wrote:
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)...
Patches attached for the audicle and tapestrea vs. gcc 4.3 (in addition to the already posted chuck patches, of course). As before, tons of warnings about "deprecated conversion from string constant to 'char*'". Also (maybe not secure, depends on context and I have not looked): ---- taps_cmd.cpp:(.text+0x28b): warning: the use of `tmpnam' is dangerous, better use `mkstemp' ---- Packages for all of the above have been pushed on Planet CCRMA for Fedora 9. But only for i386 :-) How about 64 bit support? -- 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*&)' _______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev