1 of 1 people found this helpful
Adding the following line to your program before using the static_assert macro should solve your issue -
#define static_assert _Static_assert
You can also directly use _Static_assert as shown -
_Static_assert( false, "Error 1");
Thanks and Regards,
Rakshith M B
Great, that fixed it perfectly, thanks!