> -----Original Message-----
> From: Gilles Chanteperdrix [mailto:[email protected]]
> Sent: Friday, May 03, 2013 11:20 AM
> To: George Pontis
> Cc: [email protected]
> Subject: Re: [Xenomai] Qt - Xenomai compatibility problem
> 
> On 05/03/2013 08:14 PM, George Pontis wrote:
> 
> >> -----Original Message-----
> >> From: Gilles Chanteperdrix [mailto:[email protected]]
> >> Sent: Friday, May 03, 2013 11:11 AM
> >> To: George Pontis
> >> Cc: [email protected]
> >> Subject: Re: [Xenomai] Qt - Xenomai compatibility problem
> >>
> >> On 04/30/2013 10:50 PM, George Pontis wrote:
> >>
> >>> I took a snapshot from git of the current Xenomai code and put it in the 
> >>> hands of the
> >> software
> >>> developers. They reported that Qt would not build after patching with 
> >>> Xenomai. The problem
> >> was that
> >>> Qt uses "signals" as a keyword, and that conflicts with the function 
> >>> prototype for
> >> rt_task_notify
> >>> under xenomai/native:
> >>>
> >>>
> >>> int rt_task_notify(RT_TASK *task, rt_sigset_t signals);
> >>>
> >>>
> >>> Although this is not a Xenomai problem, it might save some users the 
> >>> annoyance if the name
> >> "signals"
> >>> could change.
> >>
> >>
> >> Have you tried the obvious fix?
> >>
> >> --
> >>                                                                 Gilles.
> >
> >
> > Yes, to us the obvious fix was to edit the function prototype in the 
> > include file
> > and change "signals" to "_signals".
> 
> 
> And there are no other changes to make to get Xenomai headers included
> with qt headers?
> 
> --
>                                                                 Gilles.


That was the only change that we needed for our environment. We only use the 
Posix and native skins. I grep'ed
the include files and found psos+/psos.h and nucleus/thread.h also use 
"signals". 

Geo.  



_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to