Missing header in io_trace_explorer

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT11.2.0, 7.2.0-rc0, 7.1.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      Building the io_trace_explorer on my laptop generates fails because errno is undeclared.

      /Users/keith.smith/src/wiredtiger/tools/io-trace-explorer/io_trace.cpp:130:75: error: use of undeclared identifier 'errno'
                std::string("Error closing file \"") + file + "\": " + strerror(errno));
                                                                                ^
      

      It looks like including cerrno will address this.

      (This is using clang 14.0.3, which I think was installed with Xcode.)

              Assignee:
              Keith Smith
              Reporter:
              Keith Smith
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: