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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.2.18, 3.4.10, 3.5.13
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • v3.4, v3.2, v3.0
    • 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)
    • Platforms 2017-08-21, Platforms 2017-09-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Mark Benvenuto
            Reporter:
            Steven Green
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: