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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.18, 3.4.10, 3.5.13
    • 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

    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

              mark.benvenuto@mongodb.com Mark Benvenuto
              greenius Steven Green
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: