Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-11883

Use C11's static_assert instead of WT_STATIC_ASSERT

    • 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.

            Assignee:
            andrew.morton@mongodb.com Andrew Morton
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: