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

Build failures with clang 7

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

      Build mongodb 4.0.3 with clang 7.0.0.

      Show
      Build mongodb 4.0.3 with clang 7.0.0.
    • Dev Tools 2018-10-22

      On a whim, I tried building mongodb 4.0.3 with clang 7.0.0 (as installed by the MacPorts clang-7.0 port) on macOS High Sierra. It failed with numerous error messages, including:

      error: "<experimental/string_view> has been removed. Use <string_view> instead."
      error: no member named 'experimental' in namespace 'std'
      error: no template named 'basic_string_view'; did you mean 'std::basic_string_view'?
      error: unknown type name 'string_view'; did you mean 'std::string_view'?
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      

      I'll attach the full log.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            ryandesign Ryan Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: