<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:59:16 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-459] compile error caused by connpool.h</title>
                <link>https://jira.mongodb.org/browse/CXX-459</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;#include &amp;lt;mongo/client/connpool.h&amp;gt;&lt;/p&gt;

&lt;p&gt;g++ main.cpp -o main -lmongoclient  -lboost_system -lboost_thread -lboost_filesystem -lboost_program_options -lboost_regex  -std=c+&lt;br/&gt;
+11  -g&lt;br/&gt;
In file included from /usr/include/mongo/bson/bsonelement.h:25:0,&lt;br/&gt;
                 from /usr/include/mongo/bson/bsonobj.h:28,&lt;br/&gt;
                 from /usr/include/mongo/client/bulk_operation_builder.h:20,&lt;br/&gt;
                 from /usr/include/mongo/client/dbclientinterface.h:29,&lt;br/&gt;
                 from /usr/include/mongo/client/connpool.h:22,&lt;br/&gt;
                 from main.cpp:2:&lt;br/&gt;
/usr/include/mongo/bson/bsontypes.h: In function &#8216;int mongo::canonicalizeBSONType(mongo::BSONType)&#8217;:&lt;br/&gt;
/usr/include/mongo/bson/bsontypes.h:148:21: error: &#8216;verify&#8217; was not declared in this scope             verify(0);                     ^In file included from /usr/include/mongo/bson/oid.h:23:0,                 from /usr/include/mongo/bson/bsonelement.h:26,                 from /usr/include/mongo/bson/bsonobj.h:28,                 from /usr/include/mongo/client/bulk_operation_builder.h:20,                 from /usr/include/mongo/client/dbclientinterface.h:29,                 from /usr/include/mongo/client/connpool.h:22,                 from main.cpp:2:/usr/include/mongo/bson/util/builder.h: In member function &#8216;void mongo::StringBuilderImpl&amp;lt;Allocator&amp;gt;::appendDoubleNice(double)&#8217;:/usr/include/mongo/bson/util/builder.h: In member function &#8216;void mongo::StringBuilderImpl&amp;lt;Allocator&amp;gt;::appendDoubleNice(double)&#8217;:/usr/include/mongo/bson/util/builder.h:335:28: error: there are no arguments to &#8216;verify&#8217; that depend on a template parameter, so a declaration of &#8216;verifyst be available &lt;span class=&quot;error&quot;&gt;&amp;#91;-fpermissive&amp;#93;&lt;/span&gt;             verify( z &amp;gt;= 0 );                            ^                            ^/usr/include/mongo/bson/util/builder.h:335:28: note: (if you use &#8216;-fpermissive&#8217;, G++ will accept your code, but allowing the use of an undeclared name is depcated)recated)/usr/include/mongo/bson/util/builder.h:336:33: error: there are no arguments to &#8216;verify&#8217; that depend on a template parameter, so a declaration of &#8216;verifyst be available &lt;span class=&quot;error&quot;&gt;&amp;#91;-fpermissive&amp;#93;&lt;/span&gt;             verify( z &amp;lt; maxSize );&lt;/p&gt;</description>
                <environment></environment>
        <key id="176883">CXX-459</key>
            <summary>compile error caused by connpool.h</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="9">Done</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="tianchaohaohan">tianchaohaohan</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Mon, 5 Jan 2015 07:35:57 +0000</created>
                <updated>Wed, 7 Jan 2015 19:26:29 +0000</updated>
                            <resolved>Wed, 7 Jan 2015 19:26:29 +0000</resolved>
                                    <version>legacy-1.0.0-rc3</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="799359" author="acm" created="Wed, 7 Jan 2015 19:26:29 +0000"  >&lt;p&gt;Hi -&lt;/p&gt;

&lt;p&gt;I&apos;m closing this because it sounds from the other ticket like you are have been able to build the driver.&lt;/p&gt;

&lt;p&gt;Please feel free to re-open the ticket if you are still having problems.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                            <comment id="797967" author="acm" created="Tue, 6 Jan 2015 12:09:20 +0000"  >&lt;p&gt;Hi - &lt;/p&gt;

&lt;p&gt;You mentioned in &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-458&quot; title=&quot;Crashed caused by genOID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-458&quot;&gt;&lt;del&gt;CXX-458&lt;/del&gt;&lt;/a&gt; that you had completed the build of the driver. Is this ticket now obsolete?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                            <comment id="796927" author="acm" created="Mon, 5 Jan 2015 14:37:32 +0000"  >&lt;p&gt;Hi -&lt;/p&gt;

&lt;p&gt;Unfortunately, the header files of the driver are not factored so as to be independently includable. Please include &quot;mongo/client/dbclient.h&quot; instead, which pulls in all of the headers necessary to use the library, in the appropriate order and with the appropriate macros defined.&lt;/p&gt;

&lt;p&gt;Also, I&apos;m puzzled how you are even managing to include connpool.h if you are using -rc3, since that file was not shipped as part of that release (the connection pool support was removed in the legacy-1.0.0-rc1 release (see &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-336&quot; title=&quot;Remove Connection Pool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-336&quot;&gt;&lt;del&gt;CXX-336&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Can you please provide the information from here &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/wiki/Download%20and%20Compile#how-to-ask-for-help&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/wiki/Download%20and%20Compile#how-to-ask-for-help&lt;/a&gt; about how you built the driver?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                    </comments>
                    <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|hs55yn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>155143</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>