[Rtai] RTAI_VERSION_CODE and rtai-3.6-cv

Pierangelo Masarati masarati at aero.polimi.it
Thu Mar 19 17:56:22 CET 2009


Ian Abbott wrote:

> Are there any plans to release rtai-3.6.3?

No.

> The current release for the
> 3.6 branch is the "Closure Version" rtai-3.6-cv.  However, the
> RTAI_VERSION_CODE macro does not expand to a constant integer expression
> in this version, so any attempt to test RTAI_VERSION_CODE in a C
> preprocessor conditional will produce a syntax error.  (The same is true
> of the current 3.7 test releases.)
> 
> For example, one of Comedi's drivers (comedi_rt_timer) has the following
> code which produces syntax errors with rtai-3.6-cv and the rtai-3.7 test
> releases.
> 
> #if RTAI_VERSION_CODE < RTAI_MANGLE_VERSION(3,3,0)
> #define comedi_rt_task_context_t	int
> #else
> #define comedi_rt_task_context_t	long
> #endif

We are aware of the problem.  For this reason, from 3.7 on there will no 
   longer be any non-digit version code.

Cheers, p.


More information about the Rtai mailing list