Other Parts Discussed in Thread: C2000WARE
Tool/software:
I am using the C2000Ware 5.02 and am calling the following in my code:
_Static_assert(false, "MY ERROR");
No error is thrown when the condition is true. But when the condition is false, I get the following error at the same line:
error: the size of an array must be greater than zero
I am compiling with the c99 flag. Why do I not get MY ERROR at the assertion line in my compilation log?