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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Mark Benvenuto
            Reporter:
            greenius Steven Green
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: