AnsweredAssumed Answered

undefined identifier '__VA_ARGS__' (Variadic macros) MQX Error

Question asked by panpwr on Feb 20, 2014

Hello,

 

I am using CW10.5 with MQX 4.0.2.2.

I've am trying to use __VA_ARGS__ (variadic macro) in order to pass unknown number of variables to a function. However I get an error: undefined identifier '__VA_ARGS__'

Is __VA_ARGS__ not supported in MQX? If not - how can I achieve the same behavior in MQX?

 

Thanks,
Lior.

Outcomes