[chuck-dev] chuck vs. gcc 4.3

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Wed Jul 9 07:11:46 EDT 2008


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<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*&)'
> 
> _______________________________________________
> chuck-dev mailing list
> chuck-dev at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audicle-1.0.0.6b-gcc43.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/chuck-dev/attachments/20080709/9a91537d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tapestrea-0.1.0.4b-gcc43.patch
Type: text/x-patch
Size: 1308 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/chuck-dev/attachments/20080709/9a91537d/attachment-0001.bin>


More information about the chuck-dev mailing list