[chuck-dev] chuck vs. gcc 4.3

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Wed Jul 9 04:42:27 EDT 2008


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<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*&)'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: chuck-1.2.1.1-gcc43.patch
Type: text/x-patch
Size: 1387 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/chuck-dev/attachments/20080709/4cc3c800/attachment.bin>


More information about the chuck-dev mailing list