I'm trying to build chuck under gcc 4.3 and failing...
So, I thought, it must be an easy fix :-)
After the first error this fixes it:
----
--- chuck_vm.cpp~ 2007-10-03 22:37:33.000000000 -0400
+++ chuck_vm.cpp 2008-07-08 09:57:35.044314579 -0400
@@ -49,7 +49,7 @@
#include <pthread.h>
#endif
-
+#include <algorithm>
//-----------------------------------------------------------------------------
----
So far so good, and then the second error was defeated by:
----
--- ugen_stk.cpp~ 2007-10-04 04:44:34.000000000 -0400
+++ ugen_stk.cpp 2008-07-08 10:03:16.910915822 -0400
@@ -41,7 +41,7 @@
#include <string.h>
#include <time.h>
#include <float.h>
-
+#include <limits.h>
----
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<UDP_Subscriber**,
std::vector<UDP_Subscriber*, std::allocator<UDP_Subscriber*> > >,
__gnu_cxx::__normal_iterator<UDP_Subscriber**,
std::vector<UDP_Subscriber*, std::allocator<UDP_Subscriber*> > >,
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<UDP_Subscriber**,
std::vector<UDP_Subscriber*, std::allocator<UDP_Subscriber*> > >,
__gnu_cxx::__normal_iterator<UDP_Subscriber**,
std::vector<UDP_Subscriber*, std::allocator<UDP_Subscriber*> > >,
UDP_Subscriber*&)'
No clue about this whatsoever and I could not get inspiration as I
usually do from googling it or similar stuff... Must be a type thingy?
I guess programming in c++ is required knowledge :-(
Any help appreciated!
-- Fernando