<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:51:18 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-39189] MongoDB failed to buid due to C2039 C2275 C2059 C3536 and C2440 on MSVC</title>
                <link>https://jira.mongodb.org/browse/SERVER-39189</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;MongoDB failed to buid due to C2039 C2275 C2059 C3536 and C2440 on MSVC. These errors appears to be make_intrusive not defined in the future.h file and can be first reproduced on 3e402ff version. We use latest version of MongoDB to test VS copmlier. And we know building MongoDB with VS 2017 is currently not supported, so we apply patch to support this, I attach this patch. Could you please help to take a look at this? Thanks in advance!&lt;/p&gt;</description>
                <environment>VS 2017 + Windows Server 2016 + MongoDB master branch latest revision</environment>
        <key id="677833">SERVER-39189</key>
            <summary>MongoDB failed to buid due to C2039 C2275 C2059 C3536 and C2440 on 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="5">Cannot Reproduce</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="spacelg">LinGao</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Jan 2019 03:22:54 +0000</created>
                <updated>Wed, 20 Feb 2019 13:17:30 +0000</updated>
                            <resolved>Wed, 20 Feb 2019 13:17:30 +0000</resolved>
                                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2156857" author="acm" created="Wed, 20 Feb 2019 13:17:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spacelg&quot; class=&quot;user-hover&quot; rel=&quot;spacelg&quot;&gt;spacelg&lt;/a&gt; - I&apos;m closing this ticket out because I believe the codebase on the master branch works out of the box with VS 2017. Please feel free to comment on this ticket if you are still having issues and we can re-open it.&lt;/p&gt;</comment>
                            <comment id="2149835" author="acm" created="Thu, 14 Feb 2019 17:13:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spacelg&quot; class=&quot;user-hover&quot; rel=&quot;spacelg&quot;&gt;spacelg&lt;/a&gt; - This is quite puzzling to me. You can see our build log for that file on master on Windows with VS 2017 here: &lt;a href=&quot;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_enterprise_windows_64_2k8_compile_27d6644dffd80f139b90a8e89f1b21d8830ec35a_19_02_14_14_51_41/0?type=T#L2825&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_enterprise_windows_64_2k8_compile_27d6644dffd80f139b90a8e89f1b21d8830ec35a_19_02_14_14_51_41/0?type=T#L2825&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It compiles for us without warnings or errors, that I see. Our command line for that file looks like:&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;   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;cl /Fobuild\cached\mongo\scripting\mozjs\base.obj /c src\mongo\scripting\mozjs\base.cpp /TP /nologo /EHsc /W3 /wd4068 /wd4244 /wd4267 /wd4290 /wd4351 /wd4355 /wd4373 /wd4800 /wd5041 /wd4291 /we4013 /we4099 /we4930 /WX /errorReport:none /MD /O2 /Oy- /bigobj /utf-8 /Zc:rvalueCast /Zc:strictStrings /volatile:iso /Zc:__cplusplus /permissive- /std:c++17 /Gw /Gy /Zc:inline /FI js-config.h /FI js/RequiredDefines.h /DJS_USE_CUSTOM_ALLOCATOR /DSTATIC_JS_API=1 /DPCRE_STATIC /DNDEBUG /DBOOST_ALL_NO_LIB /D_UNICODE /DUNICODE /D_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING /D_SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING /D_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_WIN32_WINNT=0x0601 /DNTDDI_VERSION=0x06010000 /DBOOST_SYSTEM_NO_DEPRECATED /DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS /DABSL_FORCE_ALIGNED_ACCESS /D_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING /Isrc\third_party\mozjs-60\include /Isrc\third_party\mozjs-60\mongo_sources /Isrc\third_party\mozjs-60\platform\x86_64\windows\include /Isrc\third_party\pcre-8.42 /Isrc\third_party\boost-1.69.0 /Isrc\third_party\abseil-cpp-master\abseil-cpp /IC:\sasl\include /IC:\snmp\include /Ibuild\cached /Isrc /Z7&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;I&apos;d be interested to know what your &lt;tt&gt;cl&lt;/tt&gt; invocation for that file looks like in your build so we can diff them.&lt;/p&gt;</comment>
                            <comment id="2148290" author="spacelg" created="Thu, 14 Feb 2019 06:13:55 +0000"  >&lt;p&gt;Hi Andrew Morrow -Thanks for your information!&#160; I&apos;m sorry that I use wrong path.&lt;/p&gt;

&lt;p&gt;As you said. I ues right path in my script as below:&lt;/p&gt;

&lt;p&gt;call %_SCRIPT_DIR%\RunHelper.cmd &quot;python.exe buildscripts/scons.py&quot; %_LOG_DIR%\log_scons.log &amp;amp; if NOT &quot;&lt;span class=&quot;error&quot;&gt;Unable to render embedded object: File (ERRORLEVEL) not found.&lt;/span&gt;&quot; == &quot;0&quot; exit /b 2008&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;python.exe buildscripts/scons.py&#160; will get the following errors:&lt;/p&gt;

&lt;p&gt;D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C2988: unrecognizable template declaration/definition&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(723): note: see reference to class template instantiation &apos;mozilla::detail::VariantImplementation&amp;lt;bool,0,const char *,JS::UniqueChars&amp;gt;&apos; being compiled&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\jsapi.h(5968): note: see reference to class template instantiation &apos;mozilla::Variant&amp;lt;const char *,JS::UniqueChars&amp;gt;&apos; being compiled&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C2059: syntax error: &apos;template&apos;&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C3553: decltype expects an expression not a type&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C3646: &apos;as&apos;: unknown override specifier&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C2059: syntax error: &apos;&amp;lt;&apos;&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(248): error C2334: unexpected token(s) preceding &apos;{&apos;; skipping apparent function body&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build\opt\mongo\scripting\mozjs\base.obj&amp;#93;&lt;/span&gt; Error 2&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Could you please help to take a look at this? Thanks in advance!&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/209048/209048_log_scons.log&quot; title=&quot;log_scons.log attached to SERVER-39189&quot;&gt;log_scons.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2147236" author="acm" created="Wed, 13 Feb 2019 15:02:18 +0000"  >&lt;p&gt;I think I just had a typo in my prior posting (&lt;tt&gt;builscripts&lt;/tt&gt; vs &lt;tt&gt;buildscripts&lt;/tt&gt;). You should be able to run &lt;tt&gt;python ./buildscripts/scons.py&lt;/tt&gt; to start the build.&lt;/p&gt;</comment>
                            <comment id="2146959" author="spacelg" created="Wed, 13 Feb 2019 09:19:35 +0000"  >&lt;p&gt;Hi Andrew Morrow -Thanks for your information!&lt;/p&gt;

&lt;p&gt;At the beginning,MongoDB failed to build due to upgrade SCons to version 3.0.4. Scons 3.0.0 was used in our test machine. So we replaced scons 3.0.0 with scons 3.0.4 .&lt;/p&gt;

&lt;p&gt;Extract the downloaded scons-3.0.4.zip file to D:\MongoDB\tools\ and execute the following commands:&lt;br/&gt;
 Python.exe -m pip install pymongo&lt;br/&gt;
 Python.exe -m pip install pyyaml&lt;br/&gt;
 Python.exe -m pip install pypiwin32&lt;br/&gt;
 Python.exe -m pip install requests&lt;br/&gt;
 Pip.exe install -r D:\MongoDB\src\etc\pip\compile-requirements.txt&lt;/p&gt;

&lt;p&gt;Then we started to build.&lt;/p&gt;

&lt;p&gt;Currently,i try building with the built-in copy of SCons we have in the tree. When i get it by running &lt;tt&gt;python builscripts/scons.py&lt;/tt&gt;.&#160;Always get the following results:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;executing command&amp;#93;&lt;/span&gt; python.exe builscripts/scons.py &lt;br/&gt;
 python.exe: can&apos;t open file &apos;builscripts/scons.py&apos;: &lt;span class=&quot;error&quot;&gt;&amp;#91;Errno 2&amp;#93;&lt;/span&gt; No such file or directory&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;command took 0 seconds&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;We are able to determine that the scons.py file is present in this path D:\MongoDB\src\buildscripts.&lt;/p&gt;

&lt;p&gt;Is there a change in the way to build mongodb?&lt;/p&gt;

&lt;p&gt;Could you please help to take a look at this? Thanks in advance!&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2146208" author="acm" created="Tue, 12 Feb 2019 17:46:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spacelg&quot; class=&quot;user-hover&quot; rel=&quot;spacelg&quot;&gt;spacelg&lt;/a&gt; - That is a very odd error. I don&apos;t think it is related to our recent C++17 changes, but it could be related to some upstream changes that SCons has recently made. Could you please try building with the built-in copy of SCons we have in the tree? You can get it by running &lt;tt&gt;python builscripts/scons.py&lt;/tt&gt;. We generally prefer to build using the built-in SCons as we sometimes cherry-pick in important fixes.&lt;/p&gt;</comment>
                            <comment id="2145599" author="spacelg" created="Tue, 12 Feb 2019 08:39:51 +0000"  >&lt;p&gt;Hi Andrew Morrow - Thank you so much for your reply! I am very sorry that I have not responded to you in time due to the Chinese New Year holiday.&lt;/p&gt;

&lt;p&gt;I have tested with latest version of master branch 8e76d8c. It failed to build due to D:\MongoDB\src\src\mongo/db/auth/action_set.h(38): fatal error C1083: Cannot open include file: &apos;mongo/db/auth/action_type.h&apos;: No such file or directory&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;In action_set.h line 38: #include &quot;mongo/db/auth/action_type.h&quot;.&#160; But we couldn&apos;t find action_type.h in source code path.&#160;Could you please help to take a look at this? Thanks in advance!&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Acutal result:&lt;/p&gt;

&lt;p&gt;D:\MongoDB\src\src\mongo/db/auth/action_set.h(38): fatal error C1083: Cannot open include file: &apos;mongo/db/auth/action_type.h&apos;: No such file or directory&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/208805/208805_log_x64_build_latestversion.log&quot; title=&quot;log_x64_build_latestversion.log attached to SERVER-39189&quot;&gt;log_x64_build_latestversion.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2141330" author="acm" created="Thu, 7 Feb 2019 17:45:50 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spacelg&quot; class=&quot;user-hover&quot; rel=&quot;spacelg&quot;&gt;spacelg&lt;/a&gt; - Just checking back on this ticket. Have you been able to test with the latest version of master branch?&lt;/p&gt;</comment>
                            <comment id="2135636" author="acm" created="Fri, 1 Feb 2019 22:26:18 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spacelg&quot; class=&quot;user-hover&quot; rel=&quot;spacelg&quot;&gt;spacelg&lt;/a&gt; - Please note that &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38176&quot; title=&quot;MongoDB failed to buid with /permissive- performance on MSVC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38176&quot;&gt;&lt;del&gt;SERVER-38176&lt;/del&gt;&lt;/a&gt; has been fixed on master, so the tree should build now with &lt;tt&gt;/permissive-&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="2135141" author="acm" created="Fri, 1 Feb 2019 18:06:14 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spacelg&quot; class=&quot;user-hover&quot; rel=&quot;spacelg&quot;&gt;spacelg&lt;/a&gt; - We are actively working on fixing issues such that we can enable &lt;tt&gt;/permissive-&lt;/tt&gt; in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38176&quot; title=&quot;MongoDB failed to buid with /permissive- performance on MSVC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38176&quot;&gt;&lt;del&gt;SERVER-38176&lt;/del&gt;&lt;/a&gt;. I am puzzled though by the issues you are seeing in the new mozjs-60 integration. That just landed a few days ago, but it is building fine for us in C++17 mode with VS 2017.&lt;/p&gt;</comment>
                            <comment id="2134523" author="spacelg" created="Fri, 1 Feb 2019 10:30:14 +0000"  >&lt;p&gt;Hi Ander Morrow&lt;/p&gt;

&lt;p&gt;Thanks for your reply.&lt;/p&gt;

&lt;p&gt;The mongodb_permissive_c3861.patch in the attachment replaces &apos;&apos;SharedState&amp;lt;T&amp;gt;&apos;&apos; in &apos;./src/mongo/util/future.h with &apos;&apos;future_details::SharedState&amp;lt;T&amp;gt;&apos;&apos;. This may be reported Error &apos;&apos;error C2039: &apos;make_intrusive&apos;: is not a member of &apos;mongo::future_details&apos; &apos;&apos; related.&lt;/p&gt;

&lt;p&gt;So I removed this mongodb_permissive_c3861.patch and pulled the latest master. Re-follow the Reproduce steps to build MongoDB. But I got a lot of other errors.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/207854/207854_log_x64_build_withoutpatch__latestmaster.log&quot; title=&quot;log_x64_build_withoutpatch__latestmaster.log attached to SERVER-39189&quot;&gt;log_x64_build_withoutpatch__latestmaster.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Acutal result:&lt;/p&gt;

&lt;p&gt;D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C2988: unrecognizable template declaration/definition&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(723): note: see reference to class template instantiation &apos;mozilla::detail::VariantImplementation&amp;lt;bool,0,const char *,JS::UniqueChars&amp;gt;&apos; being compiled&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\extract\js\src\jsapi.h(5968): note: see reference to class template instantiation &apos;mozilla::Variant&amp;lt;const char *,JS::UniqueChars&amp;gt;&apos; being compiled&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C2059: syntax error: &apos;template&apos;&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C3553: decltype expects an expression not a type&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C3646: &apos;as&apos;: unknown override specifier&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C2059: syntax error: &apos;&amp;lt;&apos;&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(248): error C2334: unexpected token(s) preceding &apos;{&apos;; skipping apparent function body&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C2988: unrecognizable template declaration/definition&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(723): note: see reference to class template instantiation &apos;mozilla::detail::VariantImplementation&amp;lt;bool,0,const char *,JS::UniqueChars&amp;gt;&apos; being compiled&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\extract\js\src\jsapi.h(5968): note: see reference to class template instantiation &apos;mozilla::Variant&amp;lt;const char *,JS::UniqueChars&amp;gt;&apos; being compiled&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C2059: syntax error: &apos;template&apos;&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C3553: decltype expects an expression not a type&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C3646: &apos;as&apos;: unknown override specifier&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(247): error C2059: syntax error: &apos;&amp;lt;&apos;&lt;br/&gt;
D:\MongoDB\src\src\third_party\mozjs-60\include\mozilla/Variant.h(248): error C2334: unexpected token(s) preceding &apos;{&apos;; skipping apparent function body&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2132914" author="acm" created="Thu, 31 Jan 2019 02:20:44 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spacelg&quot; class=&quot;user-hover&quot; rel=&quot;spacelg&quot;&gt;spacelg&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;We believe that the mongodb master branch should now compile without modification in VS 2017, and without additional warning flags passed on the command line. Could you please pull the latest master and see if it works for you?&lt;/p&gt;</comment>
                            <comment id="2127990" author="daniel.hatcher" created="Fri, 25 Jan 2019 19:24:45 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Thank you for your report. I have forwarded this ticket to the appropriate team.&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="209048" name="log_scons.log" size="33469" author="spacelg" created="Thu, 14 Feb 2019 06:13:48 +0000"/>
                            <attachment id="207172" name="log_x64_build.log" size="349894" author="spacelg" created="Fri, 25 Jan 2019 03:19:55 +0000"/>
                            <attachment id="208805" name="log_x64_build_latestversion.log" size="10405" author="spacelg" created="Tue, 12 Feb 2019 08:39:24 +0000"/>
                            <attachment id="207854" name="log_x64_build_withoutpatch__latestmaster.log" size="713989" author="spacelg" created="Fri, 1 Feb 2019 10:29:55 +0000"/>
                            <attachment id="207171" name="mongodb.patch" size="2095" author="spacelg" created="Fri, 25 Jan 2019 03:19:54 +0000"/>
                            <attachment id="207170" name="mongodb_bug668740.patch" size="629" author="spacelg" created="Fri, 25 Jan 2019 03:19:54 +0000"/>
                            <attachment id="207169" name="mongodb_c2039,c3646.patch" size="697" author="spacelg" created="Fri, 25 Jan 2019 03:19:54 +0000"/>
                            <attachment id="207168" name="mongodb_permissive_c3861.patch" size="1236" author="spacelg" created="Fri, 25 Jan 2019 03:19:54 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 25 Jan 2019 19:24:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 51 weeks 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>andrew.morrow@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 51 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hua49b:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2801">Dev Tools 2019-02-11</customfieldvalue>
    <customfieldvalue id="2802">Dev Tools 2019-02-25</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Reproduce steps:&lt;br/&gt;
 1. git clone -c core.autocrlf=true &lt;a href=&quot;https://github.com/mongodb/mongo&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo&lt;/a&gt; D:\MongoDB\src &lt;br/&gt;
 2. Open a VS 2017 x64 command prompt and browse to D:\MongoDB\src&lt;br/&gt;
 3. Download the attachments and apply all patches for MongoDB.&lt;br/&gt;
 4. pip.exe install -r .\buildscripts\requirements.txt&lt;br/&gt;
 5. set CL=/wd4756 /wd4056&lt;br/&gt;
 6. scons all -j4 CXXFLAGS=&quot;/wd4756 /wd4056&quot;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Acutal result:&lt;br/&gt;
service_context.cpp&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1726): error C2039: &apos;make_intrusive&apos;: is not a member of &apos;mongo::future_details&apos;&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(55): note: see declaration of &apos;mongo::future_details&apos;&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1722): note: while compiling class template member function &apos;mongo::future_details::SharedSemiFuture&amp;lt;T&amp;gt; mongo::future_details::Future&amp;lt;T&amp;gt;::share(void) noexcept &amp;amp;&amp;amp;&apos;&lt;br/&gt;
 with&lt;br/&gt;
 [&lt;br/&gt;
 T=mongo::future_details::FakeVoid&lt;br/&gt;
 ]&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1732): note: see reference to function template instantiation &apos;mongo::future_details::SharedSemiFuture&amp;lt;T&amp;gt; mongo::future_details::Future&amp;lt;T&amp;gt;::share(void) noexcept &amp;amp;&amp;amp;&apos; being compiled&lt;br/&gt;
 with&lt;br/&gt;
 [&lt;br/&gt;
 T=mongo::future_details::FakeVoid&lt;br/&gt;
 ]&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1423): note: see reference to class template instantiation &apos;mongo::future_details::Future&amp;lt;mongo::future_details::FakeVoid&amp;gt;&apos; being compiled&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1726): error C2275: &apos;mongo::future_details::SharedState&amp;lt;mongo::future_details::FakeVoid&amp;gt;&apos;: illegal use of this type as an expression&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1726): note: see declaration of &apos;mongo::future_details::SharedState&amp;lt;mongo::future_details::FakeVoid&amp;gt;&apos;&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1726): error C2059: syntax error: &apos;)&apos;&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1727): error C3536: &apos;shared&apos;: cannot be used before it is initialized&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1728): error C2440: &apos;&amp;lt;function-style-cast&amp;gt;&apos;: cannot convert from &apos;int&apos; to &apos;mongo::future_details::SharedSemiFuture&amp;lt;T&amp;gt;&apos;&lt;br/&gt;
 with&lt;br/&gt;
 [&lt;br/&gt;
 T=mongo::future_details::FakeVoid&lt;br/&gt;
 ]&lt;br/&gt;
D:\MongoDB\src\src\mongo/util/future.h(1728): note: No constructor could take the source type, or constructor overload resolution was ambiguous&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build\opt\mongo\db\operation_context.obj&amp;#93;&lt;/span&gt; Error 2&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot;&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;br/&gt;
Acutal result:&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;/div&gt;</customfieldvalue>

                        </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|huju27:</customfieldvalue>

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