protux-devel
[Top][All Lists]
Advanced

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

Re: [Protux-devel] JMB_ASSIGN_SLOT problem


From: Luciano Giordana
Subject: Re: [Protux-devel] JMB_ASSIGN_SLOT problem
Date: Tue, 13 Apr 2004 21:06:28 -0300
User-agent: KMail/1.5.3

Ohoh...


Please, make this fix

in MustuxJogMouseBoard, look for the JMB_ASSIGN_SLOT macro definition,
make it generate a static function which has the class name appended on it, 
that might solve the ambiguosity problem..


Thanks


On Tuesday 13 April 2004 20:29, Remon Sijrier wrote:
> Hello Luciano,
>
> I'm trying to do something usefull on protux, but encountered the following
> problem.
>
> When I try to assign JMB slots with the same name in 2 header files, like
>
> JMB_ASSIGN_SLOT(GlobalPropertiesDialog, show) , in GlobalProperties.hh
>
> and
>
> JMB_ASSIGN_SLOT(ProjectManager, show) in ProjectManager.hh
>
> then I get the following error while compiling:
>
> ==============
> In file included from Interface.cc:21:
> ProjectManager.hh: In function `int jmb_static_slot_show(void*,
> JmbMessage*)': ProjectManager.hh:221: error: redefinition of `int
> jmb_static_slot_show(void*, JmbMessage*)'
> GlobalPropertiesDialog.hh:61: error: `int jmb_static_slot_show(void*,
>    JmbMessage*)' previously defined here
> ===============
>
>
> Any suggestions?
>
> Thanks a lot ;-)
>
> Remon
>
>
> _______________________________________________
> Protux-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/protux-devel

-- 
Best Regards
--
Luciano Giordana
Free Software Developer / Musician
Project Protux : Professional Audio Tools for GNU/Linux
http://www.nongnu.org/protux
Portalcon Software Livre - Americana - SP - http://www.portalcon.com.br





reply via email to

[Prev in Thread] Current Thread [Next in Thread]