Use C11's static_assert instead of WT_STATIC_ASSERT

XMLWordPrintableJSON

    • StorEng - Defined Pipeline
    • 3

      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.

              Assignee:
              Andrew Morton
              Reporter:
              Andrew Morton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: