AnsweredAssumed Answered

Is there a static (compile time) version of ASSERT()?

Question asked by Robert Poor on Feb 1, 2017
Latest reply on Feb 1, 2017 by Robert Poor

Is there a compile-time form of ASSERT() available in KDS?  It would be handy when checking on size of packed bit arrays, or the address of system registers, etc.

 

I am using a "polyfill" version of STATIC_ASSERT() from Compile time assertions in C , but it would be great if there was a natively supported version instead.

Outcomes