[fluxus] pa19-jack, gcc-4

CK chris at lo-res.org
Sun Oct 2 07:11:01 PDT 2005


hi,

I just patched the cvs version to work with pa-19 compiled with jack 
(but no alsa or oss) support. I will clean this up and put it up 
somewhere if there's any interest.

I also encountered a minor issue in the OSC code that prevented me from
compiling fluxus with gcc-4:

case 's': lo_message_add_string(oscmsg,
                     static_cast<OSCString*>(*i)->Value.c_str()); 

says bad boy, you're trying to do a bad bad cast from const char* to char*
by making things even worse (sorry I don't know c++) it works again:

// ugly clueless hack for gcc-4:
case 's': lo_message_add_string(oscmsg,
                     (char *)static_cast<OSCString*>(*i)->Value.c_str());

cheers,

x

-- 
chris at lo-res.org	Postmodernism is german romanticism with better
http://pilot.fm/	special effects. (Jeff Keuss / via ctheory.com)



More information about the Fluxus mailing list