<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:23:15 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-10467] Will 2.4.x c++ driver support -std=c++11?</title>
                <link>https://jira.mongodb.org/browse/SERVER-10467</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;gcc -std=c+&lt;ins&gt;11 currently fails for the c&lt;/ins&gt;+ driver on release 2.4.4.  I see c+&lt;ins&gt;11 support being added into 2.5, but the deployment timeframe for 2.5 is too long for us.  We would like to start using mongos 2.4.4 for our project in the near future.  Are there plans to support -std=c&lt;/ins&gt;+11 compile support for the 2.4.x release stream?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</description>
                <environment>Linux Centos 6.3, gcc 2.7.1</environment>
        <key id="79532">SERVER-10467</key>
            <summary>Will 2.4.x c++ driver support -std=c++11?</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="jwest">Jay West</reporter>
                        <labels>
                            <label>c++11</label>
                    </labels>
                <created>Wed, 19 Jun 2013 01:46:41 +0000</created>
                <updated>Wed, 10 Dec 2014 23:15:33 +0000</updated>
                            <resolved>Tue, 17 Sep 2013 17:11:58 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="427195" author="jwest" created="Tue, 17 Sep 2013 16:30:59 +0000"  >&lt;p&gt;That&apos;s fine - those who need it 2.4 for C++ can apply the patch directly.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Jay&lt;/p&gt;



</comment>
                            <comment id="426551" author="acm" created="Mon, 16 Sep 2013 23:23:51 +0000"  >&lt;p&gt;Hi Jay -&lt;/p&gt;

&lt;p&gt;I think that we are unlikely to apply these patches, despite the fact that they are small and straightforward, since 2.4 is now quite stable and C++11 support was a non-goal for that release.&lt;/p&gt;

&lt;p&gt;However, if you feel strongly that these changes should be made, the best mechanism to get discussion moving in that direction would be to sign the contributors agreement and open a github pull request with these changes (one change per commit is best), and we and the community can discuss there.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                            <comment id="394175" author="jwest" created="Fri, 2 Aug 2013 03:39:24 +0000"  >&lt;p&gt;The changes really are trivial, and it would be great see it put into an official release.&lt;/p&gt;

&lt;p&gt;I&apos;ve uploaded two patches:&lt;/p&gt;

&lt;p&gt;patch.c+&lt;ins&gt;11:  changes needed to compile with -std=c&lt;/ins&gt;+11 flag.  These changes were taken from the 2.5 stream.&lt;br/&gt;
patch.boost_1_53:  Changes needed to compile with boost v1.53.  The 2.5 stream did not have this change when I checked (a month ago).&lt;/p&gt;</comment>
                            <comment id="394145" author="acm" created="Fri, 2 Aug 2013 02:25:23 +0000"  >&lt;p&gt;I&apos;m very happy to hear you were able to get it working.&lt;/p&gt;

&lt;p&gt;You are certainly welcome to post a patch here with your 2.4.x edits. I do think it is unlikely that we will apply them to 2.4 for the reasons I mentioned earlier (unless they were truly trivial I suppose), but by posting the patch you will provide a way forward for others who may need to achieve C++11 support in 2.4.&lt;/p&gt;

&lt;p&gt;In the meantime, I&apos;ll plan to resolve this as won&apos;t fix, unless there is anything else you need.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                            <comment id="394075" author="jwest" created="Fri, 2 Aug 2013 00:16:37 +0000"  >&lt;p&gt;I couldn&apos;t find a C++driver category, so I thought CDRIVER was the closest match for the category.  Sorry for the misfile.&lt;/p&gt;

&lt;p&gt;The only portion that needs to be C+&lt;ins&gt;11 compile compatible is the C&lt;/ins&gt;+ stand alone driver code, which will be linked into our own application code.  We don&apos;t need the entire client/server build to be converted.&lt;/p&gt;

&lt;p&gt;I actually got the 2.4.4 C++ driver to compile and link with our application code using --std=c++11.  There were only a few lines in a few files that needed to be changed (macro related).  I cherry picked the necessary changes from the 2.5 code stream.  I can upload a patch if it would be useful, but the changes are pretty simple.&lt;/p&gt;</comment>
                            <comment id="392319" author="acm" created="Wed, 31 Jul 2013 01:04:27 +0000"  >&lt;p&gt;Hi -&lt;/p&gt;

&lt;p&gt;I apologize this didn&apos;t get noticed sooner. In the future, issues with the C&amp;#43;&amp;#43; driver or core server should get filed under the SERVER project, rather than the CDRIVER project. The latter is only for the plain &apos;C&apos; driver.&lt;/p&gt;

&lt;p&gt;Unfortunately, we do not intend to backport the work done to support C&amp;#43;&amp;#43;11 in 2.5 to the 2.4 branch. It is simply too large a set of changes, and 2.4 series point releases are intended for bug fixes, not feature additions.&lt;/p&gt;

&lt;p&gt;I&apos;m slightly confused by one aspect of your question though. You mention that you want to use 2.4 for &apos;mongos&apos;, but your question is about the driver. Can you clarify what components you need to be C++11 compatible, and why?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;
</comment>
                    </comments>
                    <attachments>
                            <attachment id="29500" name="patch.boost_1_53" size="722" author="jwest" created="Fri, 2 Aug 2013 03:39:24 +0000"/>
                            <attachment id="29501" name="patch.c++11" size="1703" author="jwest" created="Fri, 2 Aug 2013 03:39:24 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.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>Tue, 30 Jul 2013 13:19:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 22 weeks, 1 day 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 22 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>jwest</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmk33:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>72687</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_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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkt6n:</customfieldvalue>

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