<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:09:16 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-5561] Move definition of BOOST_FILESYSTEM_VERSION preprocessor constant out of pch.h</title>
                <link>https://jira.mongodb.org/browse/SERVER-5561</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The redefinition of BOOST_FILESYSTEM_VERSION 2 in pch.h makes it problematic if you are using version 3 in userland code.&lt;/p&gt;</description>
                <environment></environment>
        <key id="35865">SERVER-5561</key>
            <summary>Move definition of BOOST_FILESYSTEM_VERSION preprocessor constant out of pch.h</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="9">Done</resolution>
                                        <assignee username="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Apr 2012 13:31:44 +0000</created>
                <updated>Mon, 11 Jul 2016 18:32:52 +0000</updated>
                            <resolved>Tue, 23 Oct 2012 15:46:54 +0000</resolved>
                                                    <fixVersion>2.3.0</fixVersion>
                                    <component>Internal Client</component>
                                        <votes>1</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="178194" author="schwerin" created="Tue, 23 Oct 2012 15:46:54 +0000"  >&lt;p&gt;Resolved by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4314&quot; title=&quot;Add support for boost filesystem v3&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4314&quot;&gt;&lt;del&gt;SERVER-4314&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="111254" author="piotr" created="Wed, 18 Apr 2012 17:16:06 +0000"  >&lt;p&gt;I think the best solution is just using v3. For future releases you could just require boost with BFSv3.&lt;/p&gt;

&lt;p&gt;I&apos;m afraid this won&apos;t work. Currently in my organization we were also using BFSv2 and we migrated to BFSv3 and removed this very macro. The surprise came when the mongodb driver was redefining this macro when including the client headers and thus making it incompatible. IIRC if the macro is not defined, the old API is not exported. As I understand  this issue both APIS are mutually exclusive.&lt;/p&gt;

&lt;p&gt;Even worse, changing like:&lt;/p&gt;

&lt;p&gt;&amp;#8212; a/SConstruct&lt;br/&gt;
+++ b/SConstruct&lt;br/&gt;
@@ -350,8 +350,9 @@ if has_option( &quot;libpath&quot; ):&lt;br/&gt;
 if has_option( &quot;cpppath&quot; ):&lt;br/&gt;
     env&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;CPPPATH&amp;quot;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;error&quot;&gt;&amp;#91;get_option( &amp;quot;cpppath&amp;quot; )&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;-env.Prepend( CPPDEFINES=[ &quot;_SCONS&quot; , &lt;br/&gt;
+env.Prepend( CPPDEFINES=[ &quot;_SCONS&quot; ,&lt;br/&gt;
                           &quot;MONGO_EXPOSE_MACROS&quot; ,&lt;br/&gt;
+                          &quot;BOOST_FILESYSTEM_VERSION=2&quot;,&lt;br/&gt;
                           &quot;SUPPORT_UTF8&quot; ],  # for pcre&lt;/p&gt;


&lt;p&gt;Will break boost compilation as the environment is inherited.&lt;/p&gt;

&lt;p&gt;generate_buildinfo(&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;build/buildinfo.cpp&amp;quot;&amp;#93;&lt;/span&gt;, [&apos;\n#include &amp;lt;string&amp;gt;\n#include &amp;lt;boost/version.hpp&amp;gt;\n\n#include &quot;mongo/util/version.h&quot;\n\nnamespace mongo {\n    const char * gitVersion() &lt;/p&gt;
{ return &quot;%(git_version)s&quot;; }
&lt;p&gt;\n    std::string sysInfo() &lt;/p&gt;
{ return &quot;%(sys_info)s BOOST_LIB_VERSION=&quot; BOOST_LIB_VERSION ; }
&lt;p&gt;\n}  // namespace mongo\n&apos;])&lt;br/&gt;
g++ -o build/linux2/normal/third_party/boost/libs/filesystem/v3/src/codecvt_error_category.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -pipe -fno-builtin-memcmp -O3 -DBOOST_ALL_NO_LIB -D_SCONS -DMONGO_EXPOSE_MACROS -DBOOST_FILESYSTEM_VERSION=2 -DSUPPORT_UTF8 -D_FILE_OFFSET_BITS=64 -DJS_C_STRINGS_ARE_UTF8 -DMONGO_HAVE_EXECINFO_BACKTRACE -DXP_UNIX -Ibuild/linux2/normal/third_party/boost -Isrc/third_party/boost -Ibuild/linux2/normal/third_party/pcre-8.30 -Isrc/third_party/pcre-8.30 -Ibuild/linux2/normal -Isrc -Ibuild/linux2/normal/mongo -Isrc/mongo -Ibuild/linux2/normal/third_party/snappy -Isrc/third_party/snappy -Ibuild/linux2/normal/third_party/js-1.7 -Isrc/third_party/js-1.7 src/third_party/boost/libs/filesystem/v3/src/codecvt_error_category.cpp&lt;br/&gt;
In file included from src/third_party/boost/libs/filesystem/v3/src/codecvt_error_category.cpp:29:0:&lt;br/&gt;
src/third_party/boost/boost/filesystem/v3/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build/linux2/normal/third_party/boost/libs/filesystem/v3/src/codecvt_error_category.o&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
scons: building terminated because of errors.&lt;/p&gt;</comment>
                            <comment id="110200" author="schwerin" created="Mon, 16 Apr 2012 13:26:32 +0000"  >&lt;p&gt;When I filed this bug, I didn&apos;t intend to upgrade Mongo to using the v3 version of boost::filesystem; only to insulate consumers of the C++ driver from Mongo&apos;s choice of version.  The straight upgrade approach that you propose may interfere with organizations that require dynamic linking and boost versions prior to 1.44.  Clearly, sticking to the v2 interface will be untenable in the future, however.&lt;/p&gt;

&lt;p&gt;Anyhow, I have not forgotten this patch, but have not had time to consider these implications, fully.  If you have time to experiment, could you see if defining BOOST_FILESYSTEM_VERSION=2 in the SCons CPPDEFINES variable and dropping it from pch.h provides a version of the C++ driver compatible with applications that also need v3 of boost::filesystem?  If not, I will look into it when I have time.&lt;/p&gt;</comment>
                            <comment id="110107" author="piotr" created="Mon, 16 Apr 2012 08:18:37 +0000"  >&lt;p&gt;Hi Andy, did you had time to look at this pull request?  regards.&lt;/p&gt;</comment>
                            <comment id="108345" author="piotr" created="Tue, 10 Apr 2012 16:37:32 +0000"  >&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;I created a pull request: &lt;a href=&quot;https://github.com/mongodb/mongo/pull/208&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/208&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 10 Apr 2012 16:37:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 17 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>false</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>
                            11 years, 17 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>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>piotr</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro6en:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7896</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|hrkyxj:</customfieldvalue>

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