<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:22:54 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-30166] Use of string instead of std::string in some source files prevents compilation</title>
                <link>https://jira.mongodb.org/browse/SERVER-30166</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;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.&lt;br/&gt;
This applies to:&lt;br/&gt;
 src/mongo/db/matcher/expression_leaf.cpp&lt;br/&gt;
 src/mongo/db/repl/master_slave.cpp&lt;br/&gt;
 src/mongo/shell/bench.cpp&lt;/p&gt;

&lt;p&gt;This is preventing it building on gentoo linux.&lt;/p&gt;</description>
                <environment></environment>
        <key id="404508">SERVER-30166</key>
            <summary>Use of string instead of std::string in some source files prevents compilation</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="mark.benvenuto@mongodb.com">Mark Benvenuto</assignee>
                                    <reporter username="greenius">Steven Green</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Jul 2017 08:45:31 +0000</created>
                <updated>Mon, 30 Oct 2023 23:15:12 +0000</updated>
                            <resolved>Tue, 22 Aug 2017 17:47:29 +0000</resolved>
                                                    <fixVersion>3.2.18</fixVersion>
                    <fixVersion>3.4.10</fixVersion>
                    <fixVersion>3.5.13</fixVersion>
                                    <component>Build</component>
                                        <votes>1</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="1704178" author="xgen-internal-githook" created="Thu, 19 Oct 2017 20:07:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;mark.benvenuto@mongodb.com&apos;, &apos;name&apos;: &apos;Mark Benvenuto&apos;, &apos;username&apos;: &apos;markbenvenuto&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30166&quot; title=&quot;Use of string instead of std::string in some source files prevents compilation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30166&quot;&gt;&lt;del&gt;SERVER-30166&lt;/del&gt;&lt;/a&gt; Fix Lint&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0941b8e2ec1ef7ddbf2bd07eb50fab67658d7617&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0941b8e2ec1ef7ddbf2bd07eb50fab67658d7617&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1699779" author="xgen-internal-githook" created="Mon, 16 Oct 2017 15:33:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;steven@greenius.co.uk&apos;, &apos;name&apos;: &apos;Steven Green&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30166&quot; title=&quot;Use of string instead of std::string in some source files prevents compilation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30166&quot;&gt;&lt;del&gt;SERVER-30166&lt;/del&gt;&lt;/a&gt; Replace string with explicit std::string. Enables compulation when using --use-system-pcre which presusably used to do &apos;using std::string&apos; in an earlier version of pcre&lt;/p&gt;

&lt;p&gt;Closes #1167&lt;/p&gt;

&lt;p&gt;Signed-off-by: Mark Benvenuto &amp;lt;mark.benvenuto@mongodb.com&amp;gt;&lt;br/&gt;
(cherry picked from commit b7cebf82bc5e5572308cc3a3fb958a825db91498)&lt;br/&gt;
Branch: v3.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b70b91f98c479d8f2abb3eb1c2805cc72962e464&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b70b91f98c479d8f2abb3eb1c2805cc72962e464&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1686496" author="xgen-internal-githook" created="Mon, 2 Oct 2017 14:30:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;steven@greenius.co.uk&apos;, &apos;name&apos;: &apos;Steven Green&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30166&quot; title=&quot;Use of string instead of std::string in some source files prevents compilation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30166&quot;&gt;&lt;del&gt;SERVER-30166&lt;/del&gt;&lt;/a&gt; Replace string with explicit std::string. Enables compulation when using --use-system-pcre which presusably used to do &apos;using std::string&apos; in an earlier version of pcre&lt;/p&gt;

&lt;p&gt;Closes #1167&lt;/p&gt;

&lt;p&gt;Signed-off-by: Mark Benvenuto &amp;lt;mark.benvenuto@mongodb.com&amp;gt;&lt;br/&gt;
(cherry picked from commit b7cebf82bc5e5572308cc3a3fb958a825db91498)&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/218a7b1d4ea3d3b04a5f6f54c66640b3a15586b0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/218a7b1d4ea3d3b04a5f6f54c66640b3a15586b0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1686493" author="xgen-internal-githook" created="Mon, 2 Oct 2017 14:30:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;steven@greenius.co.uk&apos;, &apos;name&apos;: &apos;Steven Green&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30166&quot; title=&quot;Use of string instead of std::string in some source files prevents compilation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30166&quot;&gt;&lt;del&gt;SERVER-30166&lt;/del&gt;&lt;/a&gt; Replace string with explicit std::string. Enables compulation when using --use-system-pcre which presusably used to do &apos;using std::string&apos; in an earlier version of pcre&lt;/p&gt;

&lt;p&gt;Closes #1167&lt;/p&gt;

&lt;p&gt;Signed-off-by: Mark Benvenuto &amp;lt;mark.benvenuto@mongodb.com&amp;gt;&lt;br/&gt;
(cherry picked from commit b7cebf82bc5e5572308cc3a3fb958a825db91498)&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/18f4c63869a32426bd33235a8cf51f06809a1b6b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/18f4c63869a32426bd33235a8cf51f06809a1b6b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1679523" author="acm" created="Fri, 22 Sep 2017 12:18:26 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=hydrapolic&quot; class=&quot;user-hover&quot; rel=&quot;hydrapolic&quot;&gt;hydrapolic&lt;/a&gt; - The ticket is marked for backport so unless something changes or there are problems doing so, this issue will eventually be backported to 3.4 and most likely 3.2.&lt;/p&gt;</comment>
                            <comment id="1679463" author="hydrapolic" created="Fri, 22 Sep 2017 10:04:47 +0000"  >&lt;p&gt;Can you please backport to 3.2/3.4?&lt;/p&gt;</comment>
                            <comment id="1674415" author="ramon.fernandez" created="Fri, 15 Sep 2017 20:11:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: u&apos;sgolemon&apos;, &apos;name&apos;: u&apos;Sara Golemon&apos;, &apos;email&apos;: u&apos;sara.golemon@mongodb.com&apos;}
&lt;p&gt;Message:&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30166&quot; title=&quot;Use of string instead of std::string in some source files prevents compilation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30166&quot;&gt;&lt;del&gt;SERVER-30166&lt;/del&gt;&lt;/a&gt; Support pipelines running on mongos only&lt;br/&gt;
Branch:master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7b7de197a787073ecf47f89d1f9976758f24390a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7b7de197a787073ecf47f89d1f9976758f24390a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1654109" author="mark.benvenuto" created="Tue, 22 Aug 2017 17:47:29 +0000"  >&lt;p&gt;Backports are needed for this issue because &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29287&quot; title=&quot;Upgrade pcre to 8.41&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29287&quot;&gt;&lt;del&gt;SERVER-29287&lt;/del&gt;&lt;/a&gt; depends on this ticket, and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29287&quot; title=&quot;Upgrade pcre to 8.41&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29287&quot;&gt;&lt;del&gt;SERVER-29287&lt;/del&gt;&lt;/a&gt; is required for backports.&lt;/p&gt;</comment>
                            <comment id="1654074" author="xgen-internal-githook" created="Tue, 22 Aug 2017 17:17:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;steven@greenius.co.uk&apos;, &apos;name&apos;: &apos;Steven Green&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30166&quot; title=&quot;Use of string instead of std::string in some source files prevents compilation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30166&quot;&gt;&lt;del&gt;SERVER-30166&lt;/del&gt;&lt;/a&gt; Replace string with explicit std::string. Enables compulation when using --use-system-pcre which presusably used to do &apos;using std::string&apos; in an earlier version of pcre&lt;/p&gt;

&lt;p&gt;Closes #1167&lt;/p&gt;

&lt;p&gt;Signed-off-by: Mark Benvenuto &amp;lt;mark.benvenuto@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b7cebf82bc5e5572308cc3a3fb958a825db91498&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b7cebf82bc5e5572308cc3a3fb958a825db91498&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1623449" author="greenius" created="Mon, 17 Jul 2017 12:48:56 +0000"  >&lt;p&gt;I have made two pull requests that replace string with std::string where needed so that it will compile.  One against master (#1167) and the other against the 3.4 branch (#1166)&lt;/p&gt;

&lt;p&gt;Two files (src/mongo/util/net/miniwebserver.cpp and src/mongo/db/dbwebserver.cpp) I just added a using std::string near the top of the cpp file as there were already some other using std:: directives there.  The other 3 files I replaced string with std::string which looks like it is the preferred style rather than adding a using directive.&lt;/p&gt;</comment>
                            <comment id="1623441" author="greenius" created="Mon, 17 Jul 2017 12:43:56 +0000"  >&lt;p&gt;This is the patch to libpcre that caused this problem to show itself... &lt;a href=&quot;https://bugs.exim.org/show_bug.cgi?id=2084&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.exim.org/show_bug.cgi?id=2084&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Several using std directives (including &quot;using std::string&quot;) were declared in global namespace in header file &amp;lt;pcre_stringpiece.h&amp;gt; which was included from &amp;lt;pcrecpp.h&amp;gt;. They have been moved into the pcrecpp namespace so as not to pollute the global namespace.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="384895">SERVER-29287</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="14340"><![CDATA[v3.4]]></customfieldvalue>
    <customfieldvalue key="13440"><![CDATA[v3.2]]></customfieldvalue>
    <customfieldvalue key="12643"><![CDATA[v3.0]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 16 Aug 2017 19:35:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 16 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 16 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>hydrapolic</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>greenius</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htazt3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht50w7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1829">Platforms 2017-08-21</customfieldvalue>
    <customfieldvalue id="1877">Platforms 2017-09-11</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;python2 buildscripts/scons.py -j4 --use-system-pcre --disable-warnings-as-errors core tools&lt;/p&gt;

&lt;p&gt;(With libpcre-8.41 installed)&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htalvr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>