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

XMLWordPrintableJSON

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

      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
            Reporter:
            Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: