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

Ignore pre-c11-compat errors

    • Storage Engines
    • 1
    • StorEng - 2025-02-28, StorEng - 2025-03-14

      During testing with the v5 toolchain, we encountered pre-C11 compatibility errors that are blocking progress. This ticket will add a flag to ignore these errors, ensuring compatibility with the v5 toolchain.

       In file included from /data/mci/9be71fb50184c622409c17674558b3a9/wiredtiger/src/block/block_ext.c:9:
       In file included from /data/mci/9be71fb50184c622409c17674558b3a9/wiredtiger/src/include/wt_internal.h:560:     /data/mci/9be71fb50184c622409c17674558b3a9/wiredtiger/src/include/verify_build.h:61:1: error: '_Static_assert' is incompatible with C standards before C11 [-Werror,-Wpre-c11-compat]
          61 | static_assert(sizeof(size_t) >= 8, "size_t is smaller than 8 bytes");
             | ^ 

            Assignee:
            jasmine.bi@mongodb.com Jasmine Bi
            Reporter:
            jasmine.bi@mongodb.com Jasmine Bi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: