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

Fix workgen use of PRIxxx macros, needed for old C++ compilers

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.5, 4.1.5, WT3.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines 2018-11-05

      After a recent change, we see this error:

       

      ../../../bench/workgen/workgen.cxx: In member function 'int workgen::Monitor::run()':
      ../../../bench/workgen/workgen.cxx:373:23: error: expected ')' before 'PRIu64'
       ".%3.3" PRIu64 "Z", (uint64_t)ns_to_ms(t.tv_nsec));
       ^
      

      It seems to be on ocelot, but not on other systems.

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: