cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Combo

Anonymous
Not applicable
Im having [-Werror=unused-variable] error and i want complier to ignore it. How can I change error settings ? (WICED 2.3.0)

Thanks,

Erol
0 Likes
1 Reply
Anonymous
Not applicable
We have set the compiler to be pedantic to minimise the possibility of shooting yourself in the foot.

To stop the complier complaining about unused variables, add the following macro around the unused variable:

UNUSED_VARIABLE(my_variable);
0 Likes