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

Add missing C include into test.h for older g++ versions to compile

    XMLWordPrintable

    Details

    • Type: Build Failure
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.9.0, 4.4.5
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Storage - Ra 2021-03-08

      Description

      All WT perf jobs failed in Jenkins after the merge of WT-7237http://build.wiredtiger.com:8080/job/wiredtiger-perf/

      Logs:

       

      In file included from ../../../src/include/wt_internal.h:404:0,
                       from ../../../test/utility/test_util.h:31,
                       from ../../../test/cppsuite/test_harness/configuration_settings.h:33,
                       from ../../../test/cppsuite/test_harness/test.h:41,
                       from ../../../test/cppsuite/tests/poc.cxx:33:
      ../../../src/include/cell_inline.h: In function 'int __cell_data_ref(WT_SESSION_IMPL*, WT_PAGE*, int, WT_CELL_UNPACK_COMMON*, WT_ITEM*)':
      ../../../src/include/error.h:113:43: error: expected ')' before 'PRIxMAX'
           __wt_panic(session, EINVAL, "%s: 0x%" PRIxMAX, \
      

       

      Fix:

      The include <cinttypes> is missing from test.h

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              etienne.petrel Etienne Petrel
              Reporter:
              luke.pearson Luke Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: