Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-74633

Fix build with clang16 compiler on 32bit hosts

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Security
    • ALL

      4.19 release fails to build with clang16+ 

      src/mongo/util/processinfo_linux.cpp:424:16: error: no matching function for call to 'max'
              return std::max(socketIds.size(), 1ul);

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            raj.khem@gmail.com Khem Raj
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: