Hi all,
i have a little problem with the #define NRF_LOG. I have this warnings, and i don't know why.
Warning[Pg004]: macro parameter "VA_ARGS" is used in both expanded and raw forms
Someone have an idea about the reason?
Thank you, Anna
Hi all,
i have a little problem with the #define NRF_LOG. I have this warnings, and i don't know why.
Warning[Pg004]: macro parameter "VA_ARGS" is used in both expanded and raw forms
Someone have an idea about the reason?
Thank you, Anna
Hi all,
i understood that the problem is :
NRF_LOG(NRF_LOG_COLOR_RED "\n*** ASSERTION FAILED ***\n");
If i delete a NRF_LOG_COLOR_RED, not warning is generate, or if i use a NRF_LOG_PRINTF instead of NRF_LOG.
But i don't know why.
Chhers, Anna
I guess it might be a compiler issue. Something similar to this: Standard alternative to GCC's ##VA_ARGS trick.
I guess it might be a compiler issue. Something similar to this: Standard alternative to GCC's ##VA_ARGS trick.