A Dimarts, 30 d'abril de 2013, George Pontis va escriure:
> 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.

I'm not a C++ expert, but to solve this you must encapsulate all the Xenomai 
calls of your software in a namespace. After that, I think that you could use 
the signal word without problem of collision with another signal word.

Regards,

Leopold

-- 
--
Linux User 152692
Catalonia

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

Reply via email to