-
Type: Technical Debt
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Not Applicable
-
3
-
StorEng - Defined Pipeline
WiredTiger currently uses a custom WT_STATIC_ASSERT macro that creates an array of size -1 to simulate a compile-time failure. As of C11 there is a static assertion in the C standard that can be used instead. Update our code to use static_assert instead.