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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.5, 4.1.5, WT3.2.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: