<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:03:54 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-1779] Mongocxx driver build on windows with mingw_vc90</title>
                <link>https://jira.mongodb.org/browse/CXX-1779</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;I have built mongocxx and bsoncxx libs (both shared and static) for linux using GCC (libstdc++6), windows using VS 2015 (MSVC 140) and windows using MinGW (GCC 7.3 VC90). GCC linux and VS 2015 builds compile and run flawlessly whereas the MinGW one has been giving me trouble. The following lines of code produce undefined reference errors:&lt;/p&gt;

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

&lt;p&gt;CODE:&lt;/p&gt;

&lt;p&gt;-------&lt;/p&gt;

&lt;p&gt;for (bsoncxx::document::view doc: coll.find({})) &lt;/p&gt;
{

bsoncxx::document::element iso_mic_code = *doc.find(&quot;ISO_MIC_CODE&quot;); bsoncxx::document::element holiday_date = *doc.find(&quot;HOLIDAY_DATE&quot;); bsoncxx::document::element holiday_event_type_code = *doc.find(&quot;HOLIDAY_EVENT_TYPE_CODE&quot;);

}

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

&lt;p&gt;ERRORS:&lt;/p&gt;

&lt;p&gt;---------&lt;/p&gt;

&lt;p&gt;I get the following error on all 3 lines highlighted above during linking&lt;/p&gt;

&lt;p&gt;undefined reference to `bsoncxx::v_noabi::document::view::find(core::v1::basic_string_view&amp;lt;char, std::char_traits&amp;lt;char&amp;gt; &amp;gt;) const&apos;&lt;/p&gt;

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

&lt;p&gt;I use&#160;MNMLSTC/core polyfill implementation for linux and boost polyfill for both windows configurations. I have meticulously checked that there are no missing dependencies. Actually both gcc builds (windows and linux) share the same build system (WAF). I have run out of ideas at this point and would appreciate any help.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>OS: Windows 10&lt;br/&gt;
Compiler: GCC 7.3 VC90&lt;br/&gt;
&lt;br/&gt;
MongoC Version: Latest</environment>
        <key id="779031">CXX-1779</key>
            <summary>Mongocxx driver build on windows with mingw_vc90</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="zakhtarch87">Zubair Akhtar</reporter>
                        <labels>
                            <label>post-5.0</label>
                            <label>size-small</label>
                    </labels>
                <created>Tue, 28 May 2019 22:38:01 +0000</created>
                <updated>Wed, 8 Feb 2023 19:06:32 +0000</updated>
                                            <version>3.4.0</version>
                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1319700">CXX-2001</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CXX-2634</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6ic6:hyyi</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>