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

Use of string instead of std::string in some source files prevents compilation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.18, 3.4.10, 3.5.13
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4, v3.2, v3.0
    • Steps To Reproduce:
      Hide

      python2 buildscripts/scons.py -j4 --use-system-pcre --disable-warnings-as-errors core tools

      (With libpcre-8.41 installed)

      Show
      python2 buildscripts/scons.py -j4 --use-system-pcre --disable-warnings-as-errors core tools (With libpcre-8.41 installed)
    • Sprint:
      Platforms 2017-08-21, Platforms 2017-09-11

      Description

      If you build with --use-system-pcre with version 8.41 of pcre MongoDB fails to build because string is undefined. Replacing string with std::string in those files allows it to build again.
      This applies to:
      src/mongo/db/matcher/expression_leaf.cpp
      src/mongo/db/repl/master_slave.cpp
      src/mongo/shell/bench.cpp

      This is preventing it building on gentoo linux.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: