<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:04:26 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-1952] Mongo-cxx-driver compile failed with a future version of MSVC</title>
                <link>https://jira.mongodb.org/browse/CXX-1952</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Hello, I&apos;m a member of Microsoft VCPKG, when I built this port in an internal version of Visual Studio, it failed with following errors:&lt;/p&gt;

&lt;p&gt;mongocxx\instance.cpp(79): error C2338: Must be trivially constructible&lt;/p&gt;

&lt;p&gt;Line79:&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; static_assert(std::is_trivially_constructible&amp;lt;decltype(current_instance)&amp;gt;::value, &quot;Must be trivially constructible&quot;);&lt;/p&gt;

&lt;p&gt;Since there is a static_assert that std::atomic is trivially constructible, then the code need to be fixed to handle the adoption of &lt;a href=&quot;http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0883r2.pdf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0883r2.pdf&lt;/a&gt; which makes atomic have a constructor that value-initializes the contained T.&lt;/p&gt;



&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Windows</environment>
        <key id="1220863">CXX-1952</key>
            <summary>Mongo-cxx-driver compile failed with a future version of MSVC</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="850426846@qq.com">Cheney Wang</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Mar 2020 09:21:37 +0000</created>
                <updated>Thu, 11 Jun 2020 14:25:30 +0000</updated>
                            <resolved>Thu, 11 Jun 2020 14:25:30 +0000</resolved>
                                    <version>3.4.0</version>
                    <version>3.4.1</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3205096" author="kevin.albertson" created="Thu, 11 Jun 2020 14:25:30 +0000"  >&lt;p&gt;This appears to be a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2037&quot; title=&quot;Cannot build on Windows with Visual Studio 2019&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2037&quot;&gt;&lt;del&gt;CXX-2037&lt;/del&gt;&lt;/a&gt;. Please watch that ticket for further updates.&lt;/p&gt;</comment>
                            <comment id="3107502" author="kevin.albertson" created="Tue, 26 May 2020 17:59:42 +0000"  >&lt;p&gt;Related to&#160;&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/654/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/654/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2962737" author="850426846@qq.com" created="Wed, 11 Mar 2020 02:59:28 +0000"  >&lt;p&gt;The GitHub have this change: &lt;a href=&quot;https://github.com/microsoft/STL/pull/390/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/microsoft/STL/pull/390/files&lt;/a&gt; , so you can the latest source from GitHub to replace the local files, then you can reproduce this issue successfully.&lt;/p&gt;</comment>
                            <comment id="2954917" author="kevin.albertson" created="Mon, 9 Mar 2020 17:50:52 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=850426846%40qq.com&quot; class=&quot;user-hover&quot; rel=&quot;850426846@qq.com&quot;&gt;850426846@qq.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the report! Do you know of another way to reproduce this compilation error outside of an internal version of Visual Studio? Otherwise, we may not be able to reproduce the compilation failure at the moment.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Kevin&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1374483">CXX-2037</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|hwnjdz:</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>