<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:02:35 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-1423] Missing include for &lt;cassert&gt; in tests</title>
                <link>https://jira.mongodb.org/browse/CXX-1423</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;I try to use MongoDB C Driver version 1.7.0 in Debian Stretch like described in this instruction: &lt;a href=&quot;https://mongodb.github.io/mongo-cxx-driver/mongocxx-v3/installation&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodb.github.io/mongo-cxx-driver/mongocxx-v3/installation&lt;/a&gt; &lt;br/&gt;
This is was fail. But with previous version (1.6.3) everything work fine.&lt;/p&gt;

&lt;p&gt;How to reproduce the issue&lt;/p&gt;

&lt;p&gt;Step 0: To emulate my environment you can use docker. If you have&apos;t docker yet, you can install it like described here: &lt;a href=&quot;https://docs.docker.com/engine/installation/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.docker.com/engine/installation/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 1: Create an empty directory, then create Dockerfile inside and copy/paste into it this content:&lt;/p&gt;

&lt;p&gt;FROM debian:stretch&lt;br/&gt;
ADD &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/releases/download/1.6.3/mongo-c-driver-1.6.3.tar.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/releases/download/1.6.3/mongo-c-driver-1.6.3.tar.gz&lt;/a&gt; /&lt;br/&gt;
ADD &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/archive/r3.1.2.tar.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/archive/r3.1.2.tar.gz&lt;/a&gt; /&lt;br/&gt;
RUN apt-get update &amp;amp;&amp;amp; \&lt;br/&gt;
    apt-get install -y \&lt;br/&gt;
        build-essential \&lt;br/&gt;
        cmake \&lt;br/&gt;
        libboost-all-dev \&lt;br/&gt;
        libmagick++-dev \&lt;br/&gt;
        libsasl2-dev \&lt;br/&gt;
        libssl-dev \&lt;br/&gt;
        pkg-config &amp;amp;&amp;amp; \&lt;br/&gt;
    cd /mongo-c-driver-1.6.3 &amp;amp;&amp;amp; \&lt;br/&gt;
    ./configure --disable-automatic-init-and-cleanup &amp;amp;&amp;amp; \&lt;br/&gt;
    make &amp;amp;&amp;amp; \&lt;br/&gt;
    make install &amp;amp;&amp;amp; \&lt;br/&gt;
    make clean &amp;amp;&amp;amp; \&lt;br/&gt;
    cd / &amp;amp;&amp;amp; \&lt;br/&gt;
    cd /mongo-cxx-driver-r3.1.2/build &amp;amp;&amp;amp; \&lt;br/&gt;
    cmake -DCMAKE_BUILD_TYPE=Release -DBSONCXX_POLY_USE_BOOST=1 -DCMAKE_INSTALL_PREFIX=/usr/local .. &amp;amp;&amp;amp; \&lt;br/&gt;
    make &amp;amp;&amp;amp; \&lt;br/&gt;
    make install &amp;amp;&amp;amp; \&lt;br/&gt;
    make clean &amp;amp;&amp;amp; \&lt;br/&gt;
    apt-get clean&lt;/p&gt;


&lt;p&gt;Step 2: Build it with command&lt;br/&gt;
sudo docker build . -t test&lt;/p&gt;

&lt;p&gt;In my case there are no error break the process (but tonns of warnings) and I succesfully got docker image with both drivers installed.&lt;/p&gt;

&lt;p&gt;Step 3: Switch the version by command (I change version for first driver only):&lt;br/&gt;
sed -i &apos;s/1.6.3/1.7.0/g&apos; Dockerfile&lt;/p&gt;

&lt;p&gt;Step 4: Try to repeat Step 2. In my case first driver builded and installes successfully, but second driver failed to build with error:&lt;/p&gt;

&lt;p&gt;In file included from /mongo-cxx-driver-r3.1.2/src/mongocxx/private/libmongoc.hh:19:0,&lt;br/&gt;
                 from /mongo-cxx-driver-r3.1.2/src/third_party/catch/include/helpers.hpp:17,&lt;br/&gt;
                 from /mongo-cxx-driver-r3.1.2/src/mongocxx/test/bulk_write.cpp:16:&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh: In instantiation of &apos;void mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::active_instance(mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance*) [with R = _mongoc_bulk_operation_t*; Args = &lt;/p&gt;
{bool}]&apos;:&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:153:24:   required from &apos;std::unique_ptr&amp;lt;mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance&amp;gt; mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::create_instance() [with R = _mongoc_bulk_operation_t*; Args = {bool}
&lt;p&gt;]&apos;&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test/bulk_write.cpp:30:68:   required from here&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:173:15: error: &apos;assert&apos; was not declared in this scope&lt;br/&gt;
         assert(!current);  // It is impossible to create two instances in a single thread&lt;br/&gt;
         ~~~~~&lt;sub&gt;^&lt;/sub&gt;~~~~~~~~&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh: In instantiation of &apos;void mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::active_instance(mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance*) &lt;span class=&quot;error&quot;&gt;&amp;#91;with R = void; Args = {_mongoc_bulk_operation_t*}&amp;#93;&lt;/span&gt;&apos;:&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:153:24:   required from &apos;std::unique_ptr&amp;lt;mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance&amp;gt; mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::create_instance() &lt;span class=&quot;error&quot;&gt;&amp;#91;with R = void; Args = {_mongoc_bulk_operation_t*}&amp;#93;&lt;/span&gt;&apos;&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test/bulk_write.cpp:57:71:   required from here&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:173:15: error: &apos;assert&apos; was not declared in this scope&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh: In instantiation of &apos;void mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::active_instance(mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance*) &lt;span class=&quot;error&quot;&gt;&amp;#91;with R = void; Args = {_mongoc_bulk_operation_t*, const _bson_t*}&amp;#93;&lt;/span&gt;&apos;:&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:153:24:   required from &apos;std::unique_ptr&amp;lt;mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance&amp;gt; mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::create_instance() &lt;span class=&quot;error&quot;&gt;&amp;#91;with R = void; Args = {_mongoc_bulk_operation_t*, const _bson_t*}&amp;#93;&lt;/span&gt;&apos;&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test/bulk_write.cpp:189:77:   required from here&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:173:15: error: &apos;assert&apos; was not declared in this scope&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh: In instantiation of &apos;void mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::active_instance(mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance*) &lt;span class=&quot;error&quot;&gt;&amp;#91;with R = bool; Args = {_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*}&amp;#93;&lt;/span&gt;&apos;:&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:153:24:   required from &apos;std::unique_ptr&amp;lt;mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance&amp;gt; mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::create_instance() &lt;span class=&quot;error&quot;&gt;&amp;#91;with R = bool; Args = {_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*}&amp;#93;&lt;/span&gt;&apos;&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test/bulk_write.cpp:197:91:   required from here&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:173:15: error: &apos;assert&apos; was not declared in this scope&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh: In instantiation of &apos;void mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::active_instance(mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance*) &lt;span class=&quot;error&quot;&gt;&amp;#91;with R = bool; Args = {_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*}&amp;#93;&lt;/span&gt;&apos;:&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:153:24:   required from &apos;std::unique_ptr&amp;lt;mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::instance&amp;gt; mongocxx::v_noabi::test_util::mock&amp;lt;R &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/star_yellow.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;(Args ...)&amp;gt;::create_instance() &lt;span class=&quot;error&quot;&gt;&amp;#91;with R = bool; Args = {_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*}&amp;#93;&lt;/span&gt;&apos;&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test/bulk_write.cpp:265:91:   required from here&lt;br/&gt;
/mongo-cxx-driver-r3.1.2/src/mongocxx/test_util/mock.hh:173:15: error: &apos;assert&apos; was not declared in this scope&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;src/mongocxx/test/CMakeFiles/test_driver.dir/bulk_write.cpp.o&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
src/mongocxx/test/CMakeFiles/test_driver.dir/build.make:110: recipe for target &apos;src/mongocxx/test/CMakeFiles/test_driver.dir/bulk_write.cpp.o&apos; failed&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;src/mongocxx/test/CMakeFiles/test_driver.dir/all&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
CMakeFiles/Makefile2:779: recipe for target &apos;src/mongocxx/test/CMakeFiles/test_driver.dir/all&apos; failed&lt;br/&gt;
make: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
Makefile:138: recipe for target &apos;all&apos; failed&lt;/p&gt;


&lt;p&gt;What&apos;s I doing wrong?&lt;/p&gt;</description>
                <environment></environment>
        <key id="417053">CXX-1423</key>
            <summary>Missing include for &lt;cassert&gt; in tests</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="13201">Fixed</resolution>
                                        <assignee username="sam.rossi@mongodb.com">Samuel Rossi</assignee>
                                    <reporter username="Polinux">Alexander [X]</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Aug 2017 10:53:12 +0000</created>
                <updated>Sat, 28 Oct 2023 11:27:39 +0000</updated>
                            <resolved>Mon, 21 Aug 2017 20:33:59 +0000</resolved>
                                    <version>3.1.2</version>
                                    <fixVersion>3.1.3</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1653244" author="xgen-internal-githook" created="Mon, 21 Aug 2017 20:24:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;rjgebis@autobon.ai&apos;, &apos;name&apos;: &apos;Robert J. Gebis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1423&quot; title=&quot;Missing include for &amp;lt;cassert&amp;gt; in tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1423&quot;&gt;&lt;del&gt;CXX-1423&lt;/del&gt;&lt;/a&gt; Add missing include for &amp;lt;cassert&amp;gt; in mock tests&lt;br/&gt;
Branch: bugfix/3.1.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/409182980a1b3287632b2754c846320174fc91c7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/409182980a1b3287632b2754c846320174fc91c7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1649461" author="bjori" created="Wed, 16 Aug 2017 14:03:09 +0000"  >&lt;p&gt;The cdriver accidentally leaked assert.h includes in its public headers and was fixed as part of &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2005&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CDRIVER-2005&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Unfortunately it looks like some projects, like mongocxx, didn&apos;t explicitly include assert.h when they themselfs required it.&lt;br/&gt;
Now that assert.h isn&apos;t included by mongoc headers, these projects hit compiler errors 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;error: &apos;assert&apos; was not declared in this scope&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;The 3.2.0 release of the mongocxx driver, which depends on mongoc 1.7.0 will have this fixed.&lt;br/&gt;
The 3.1.x release of the mongocxx driver needs a fix, probably like &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/587&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/587&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m moving this ticket to the CXX project&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="415845">CXX-1422</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht4uan:</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>