<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:06:31 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-2629] Remove requirement to set `/Zc:__cplusplus` in MSVC flags</title>
                <link>https://jira.mongodb.org/browse/CXX-2629</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;&lt;b&gt;Scope&lt;/b&gt;&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Set the C++ flag &lt;tt&gt;/Zc:__cplusplus&lt;/tt&gt; by default for MSVC.&lt;/li&gt;
	&lt;li&gt;Remove option from &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/blob/1f06052f3748cd99ff1a2687d5c95799a05bcdae/.mci.yml#L46-L52&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;.mci.yml&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Remove &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/blob/1f06052f3748cd99ff1a2687d5c95799a05bcdae/docs/content/mongocxx-v3/installation/windows.md?plain=1#L112-L114&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;note from documentation&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;Background &amp;amp; Motivation&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The documentation currently notes it is required to configure with &lt;tt&gt;/Zc:__cplusplus&lt;/tt&gt; to compile with MSVC for C++17. Adding it as a default removes an exception in the build for MSVC.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2223152">CXX-2629</key>
            <summary>Remove requirement to set `/Zc:__cplusplus` in MSVC flags</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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Tue, 3 Jan 2023 20:32:53 +0000</created>
                <updated>Sat, 28 Oct 2023 11:26:41 +0000</updated>
                            <resolved>Thu, 12 Jan 2023 17:41:29 +0000</resolved>
                                                    <fixVersion>3.7.1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5271980" author="xgen-internal-githook" created="Tue, 14 Mar 2023 17:43:09 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2629&quot; title=&quot;Remove requirement to set `/Zc:__cplusplus` in MSVC flags&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2629&quot;&gt;&lt;del&gt;CXX-2629&lt;/del&gt;&lt;/a&gt; Remove requirement to set `/Zc:__cplusplus` in MSVC flags (#924)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove /EHsc from msvc2017 evg flags&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove requirement for /Zc:__cplusplus&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove /Zc:__cplusplus from documented requirements&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note option requirements for &amp;lt;= 3.7.0. Note /EHsc is required for &amp;lt;= 3.7.0.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove /Zc:__cplusplus from example projects&lt;br/&gt;
Branch: releases/stable&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/2b214172a5d3fc7711bb3bb4883905dd52fd92a9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/2b214172a5d3fc7711bb3bb4883905dd52fd92a9&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5109616" author="xgen-internal-githook" created="Thu, 12 Jan 2023 17:40:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2629&quot; title=&quot;Remove requirement to set `/Zc:__cplusplus` in MSVC flags&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2629&quot;&gt;&lt;del&gt;CXX-2629&lt;/del&gt;&lt;/a&gt; Remove requirement to set `/Zc:__cplusplus` in MSVC flags (#924)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove /EHsc from msvc2017 evg flags&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove requirement for /Zc:__cplusplus&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove /Zc:__cplusplus from documented requirements&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note option requirements for &amp;lt;= 3.7.0. Note /EHsc is required for &amp;lt;= 3.7.0.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove /Zc:__cplusplus from example projects&lt;br/&gt;
Branch: releases/v3.7&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/2b214172a5d3fc7711bb3bb4883905dd52fd92a9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/2b214172a5d3fc7711bb3bb4883905dd52fd92a9&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5109592" author="xgen-internal-githook" created="Thu, 12 Jan 2023 17:38:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2629&quot; title=&quot;Remove requirement to set `/Zc:__cplusplus` in MSVC flags&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2629&quot;&gt;&lt;del&gt;CXX-2629&lt;/del&gt;&lt;/a&gt; Remove requirement to set `/Zc:__cplusplus` in MSVC flags (#924)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove /EHsc from msvc2017 evg flags&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove requirement for /Zc:__cplusplus&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove /Zc:__cplusplus from documented requirements&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note option requirements for &amp;lt;= 3.7.0. Note /EHsc is required for &amp;lt;= 3.7.0.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove /Zc:__cplusplus from example projects&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/23f99179bc56b22cc7e7f72a0bdc66a934aae73f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/23f99179bc56b22cc7e7f72a0bdc66a934aae73f&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5100891" author="kevin.albertson" created="Mon, 9 Jan 2023 20:22:13 +0000"  >&lt;p&gt;Also consider: rather than check &lt;tt&gt;__cplusplus&lt;/tt&gt; in the source, consider checking the &lt;tt&gt;_MSVC_LANG&lt;/tt&gt; when compiling with MSVC. See &lt;a href=&quot;https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/&lt;/a&gt; &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1383840">CXX-2055</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CXX-2622</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i17ftk:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>