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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.5, 4.1.5, WT3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: