<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:58:05 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>[CXX-60] Default Windows builds of the C++ client driver to use /MD</title>
                <link>https://jira.mongodb.org/browse/CXX-60</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Since the windows driver will only be buildable as a DLL (see &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-59&quot; title=&quot;Disable suport for building the static libmongoclient.lib on Windows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-59&quot;&gt;&lt;del&gt;CXX-59&lt;/del&gt;&lt;/a&gt;), it makes no sense for that DLL to link the static runtime. The build system should always use the dynamic runtime when building the driver on windows.&lt;/p&gt;</description>
                <environment></environment>
        <key id="111953">CXX-60</key>
            <summary>Default Windows builds of the C++ client driver to use /MD</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="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                            <label>windows</label>
                    </labels>
                <created>Wed, 19 Feb 2014 16:30:01 +0000</created>
                <updated>Sun, 4 May 2014 19:32:27 +0000</updated>
                            <resolved>Tue, 22 Apr 2014 14:41:23 +0000</resolved>
                                                    <fixVersion>legacy-0.8.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="558863" author="xgen-internal-githook" created="Tue, 22 Apr 2014 14:40:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;acmorrow&apos;, u&apos;name&apos;: u&apos;Andrew Morrow&apos;, u&apos;email&apos;: u&apos;acm@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-60&quot; title=&quot;Default Windows builds of the C++ client driver to use /MD&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-60&quot;&gt;&lt;del&gt;CXX-60&lt;/del&gt;&lt;/a&gt; Place warning descriptions inline&lt;br/&gt;
Branch: legacy&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/356541657a01848696b934e21c0c917604310020&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/356541657a01848696b934e21c0c917604310020&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="558862" author="xgen-internal-githook" created="Tue, 22 Apr 2014 14:40:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;acmorrow&apos;, u&apos;name&apos;: u&apos;Andrew Morrow&apos;, u&apos;email&apos;: u&apos;acm@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-60&quot; title=&quot;Default Windows builds of the C++ client driver to use /MD&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-60&quot;&gt;&lt;del&gt;CXX-60&lt;/del&gt;&lt;/a&gt; Require non-static consumers to link the dynamic runtime&lt;/p&gt;

&lt;p&gt;Also, suppress build and consume time warnings for DLL export STL&lt;br/&gt;
issues and a drive-by consume suppression of CRT security warnings&lt;br/&gt;
Branch: legacy&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/942c381397a8cf72ae5619ee83bd3d78ea9b99e1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/942c381397a8cf72ae5619ee83bd3d78ea9b99e1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="557751" author="acm" created="Mon, 21 Apr 2014 18:23:38 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/59&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/59&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="557615" author="acm" created="Mon, 21 Apr 2014 17:01:40 +0000"  >&lt;p&gt;Right, those should say /MD and /MDd. Lack of MSDN is a serious pain today.&lt;/p&gt;</comment>
                            <comment id="557611" author="milkie" created="Mon, 21 Apr 2014 16:57:57 +0000"  >&lt;p&gt;I&apos;m not sure that code example&apos;s error message is correct &amp;#8211; /MT does not set _DLL, although /MD does.  I think...&lt;br/&gt;
(MSDN is down right now, every page results in &quot;Sorry, this page is unavailable. Please try again later.&quot;)&lt;/p&gt;</comment>
                            <comment id="557533" author="acm" created="Mon, 21 Apr 2014 16:02:46 +0000"  >&lt;p&gt;We have STATIC_LIBMONGOCLIENT now, which lets us know if the consumer is intending to build against a static version of the client library. So I think we can add our _DLL check conditioned on the status of STATIC_LIBMONGOCLIENT.&lt;/p&gt;

&lt;p&gt;In bson.h and dbclient.h:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#if defined(_WIN32) &amp;amp;&amp;amp; !defined(STATIC_LIBMONGOCLIENT) &amp;amp;&amp;amp; !defined(_DLL)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#error &quot;Using the DLL build of libmongoclient requires consuming code to be built with /MT or /MTd&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#endif&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="501528" author="milkie" created="Wed, 19 Feb 2014 16:34:11 +0000"  >&lt;p&gt;Option: use /MDd in debug mode.&lt;/p&gt;

&lt;p&gt;Also, we should check the compilation mode in a common header &amp;#8211; ensure that _DLL is defined, so that a consumer of the driver cannot compile the header without /MD&lt;span class=&quot;error&quot;&gt;&amp;#91;d&amp;#93;&lt;/span&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="32285">CXX-96</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrw99z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>102204</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>