Re: [Xenomai-core] XENO_ASSERT limitation

2006-03-03 Thread Philippe Gerum
Jan Kiszka wrote: Hi, I noticed and appreciated the new XENO_ASSERT macro. But when looking at it more closely, I wondered how to express actions like this: bail_out("something is broken"); return -ENOTGOOD; Ok, albeit I very much dislike macros that could cause weird control

[Xenomai-core] XENO_ASSERT limitation

2006-03-03 Thread Jan Kiszka
Hi, I noticed and appreciated the new XENO_ASSERT macro. But when looking at it more closely, I wondered how to express actions like this: bail_out("something is broken"); return -ENOTGOOD; The "action" parameter is only considering printing. Why not leaving this part completely