Re: csound problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-12-28 at 01:41 +0000, Paul wrote:
> Hi,
> 
> I've put myself down as the co-maintainer of csound and have fixed most
> of the problems so far. However...

Which ones did you find?  Are you working on the FE-7 branch?

> I have had to disable the fltk-gui as there seems to be some problem
> with the current rawhide version of fluid's C++ generation. It is
> currently generating code which is not in scope
> 
> For example, CsoundGUIConsole_FLTK.fl has the following at the top
> 
> Function {CsoundGUIConsole() : mutex_(0)} {open
>   } {
>     code {{
>   firstMsg = (Csound_Message*) 0;
>   lastMsg = (Csound_Message*) 0;
>   buf = new Fl_Text_Buffer();
>   styleBuf = new Fl_Text_Buffer();
>   msgNotifyLock.TryLock();
>   clearLock.TryLock();
>   quitLock.TryLock();
>   consoleThread =
> csoundCreateThread(&CsoundGUIConsole::consoleThreadFunc, (void*) this);
> }} {}
>     Fl_Window window {
>       label {Csound console messages} open
>       xywh {438 150 585 320} type Double resizable
>       code0 {window = (Fl_Double_Window*) o;} visible
>     } {
>       Fl_Text_Display textDisplay {
>         xywh {0 0 585 320} box DOWN_BOX color 255 labelsize 12 textfont
> 4 textsize 12 resizable
>         code0 {o->buffer(buf);}
>       }
>     }
>     code {textDisplay->highlight_data(styleBuf,
> (Fl_Text_Display::Style_Table_Entry*) &(styleTable[0]), 18, (char) 0,
> (Fl_Text_Display::Unfinished_Style_Cb) 0, (void*) 0);} {}
>   }
> 
> which translates into 
> 
> CsoundGUIConsole::CsoundGUIConsole() : mutex_(0) {
>   {
>   firstMsg = (Csound_Message*) 0;
>   lastMsg = (Csound_Message*) 0;
>   buf = new Fl_Text_Buffer();
>   styleBuf = new Fl_Text_Buffer();
>   msgNotifyLock.TryLock();
>   clearLock.TryLock();
>   quitLock.TryLock();
>   consoleThread =
> csoundCreateThread(&CsoundGUIConsole::consoleThreadFunc, (void*) this);
> }
>   { window = new Fl_Double_Window(585, 320, "Csound console messages");
>     window->user_data((void*)(this));
>     { Fl_Text_Display* o = textDisplay = new Fl_Text_Display(0, 0, 585,
> 320);
>       textDisplay->box(FL_DOWN_BOX);
>       textDisplay->color(FL_WHITE);
>       textDisplay->labelsize(12);
>       textDisplay->textfont(4);
>       textDisplay->textsize(12);
>       Fl_Group::current()->resizable(textDisplay);
>       o->buffer(buf);
>     } // Fl_Text_Display* textDisplay
>     window = (Fl_Double_Window*) o;
>     window->end();
>   } // Fl_Double_Window* window
>   textDisplay->highlight_data(styleBuf,
> (Fl_Text_Display::Style_Table_Entry*) &(styleTable[0]), 18, (char) 0,
> (Fl_Text_Display::Unfinished_Style_Cb) 0, (void*) 0);
> }
> 
> o is quite clearly out of scope.
> 
> Should I file this problem against fluid or is it something I can fix
> directly? I have zero knowledge of fluid, so if it can be fixed,
> instructions will need to be damned clear!

Hmm, odd.  If the version of gcc changed recently in FC-7, then quite
possibly things that generate code (like fluid?) may need to be updated
as well, and their clients (like csound) may be broken until then.

dan


-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux