<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:59:02 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-377] clang 3.5 warning, dbclientcursor.h</title>
                <link>https://jira.mongodb.org/browse/CXX-377</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Using the clang 3.5 compiler, the following warning is issued during compilation of the 26compat branch.&lt;/p&gt;

&lt;p&gt;While this may not be of immediate concern, it seems odd enough to report.&lt;/p&gt;

&lt;p&gt;clang++ -O3 -g -std=c+&lt;ins&gt;11 -stdlib=libc&lt;/ins&gt;+ -I ../libs/ami/include -emit-llvm -c &lt;br/&gt;
In file included from ../libs/ami/include/mongo/client/dbclient.h:40:&lt;br/&gt;
In file included from ../libs/ami/include/mongo/client/connpool.h:22:&lt;br/&gt;
In file included from ../libs/ami/include/mongo/client/dbclientinterface.h:1374:&lt;br/&gt;
../libs/ami/include/mongo/client/dbclientcursor.h:120:40: warning: &apos;this&apos; pointer cannot be null in well-defined C++ code; pointer may be&lt;br/&gt;
      assumed to always convert to true &lt;span class=&quot;error&quot;&gt;&amp;#91;-Wundefined-bool-conversion&amp;#93;&lt;/span&gt;&lt;br/&gt;
        bool isDead() const &lt;/p&gt;
{ return  !this || cursorId == 0; }
&lt;p&gt;                                      &lt;sub&gt;^&lt;/sub&gt;~~&lt;br/&gt;
1 warning generated.&lt;/p&gt;</description>
                <environment></environment>
        <key id="164599">CXX-377</key>
            <summary>clang 3.5 warning, dbclientcursor.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="-1">Unassigned</assignee>
                                    <reporter username="alb@neptunesystems.com">Allan Bazinet</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Mon, 20 Oct 2014 21:41:17 +0000</created>
                <updated>Mon, 3 Apr 2023 16:48:35 +0000</updated>
                            <resolved>Tue, 9 Dec 2014 18:58:01 +0000</resolved>
                                    <version>legacy-0.0-26compat-2.6.5</version>
                                    <fixVersion>legacy-0.0-26compat-2.6.6</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="782073" author="acm" created="Tue, 9 Dec 2014 18:58:01 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/a3fb94cb14f95a92b9c33fa04e2bfb51d3b8c1d1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/a3fb94cb14f95a92b9c33fa04e2bfb51d3b8c1d1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="782072" author="xgen-internal-githook" created="Tue, 9 Dec 2014 18:57:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;acmorrow&apos;, u&apos;name&apos;: u&apos;Andrew Morrow&apos;, u&apos;email&apos;: u&apos;acm@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-377&quot; title=&quot;clang 3.5 warning, dbclientcursor.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-377&quot;&gt;&lt;del&gt;CXX-377&lt;/del&gt;&lt;/a&gt; Fix clang warnings in headers&lt;/p&gt;

&lt;p&gt;Cherry pick of server commit db59c175c736609970b52f91e30fc2277e22b25b&lt;br/&gt;
Branch: 26compat&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/a3fb94cb14f95a92b9c33fa04e2bfb51d3b8c1d1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/a3fb94cb14f95a92b9c33fa04e2bfb51d3b8c1d1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="746356" author="acm" created="Tue, 21 Oct 2014 17:14:37 +0000"  >&lt;p&gt;I think I agree that it would be good for the 26compat headers to be able to be consumed without warnings by clang-3.5.&lt;/p&gt;

&lt;p&gt;I&apos;m putting this into the &apos;planning&apos; bucket so we don&apos;t lose track of it.&lt;/p&gt;</comment>
                            <comment id="745756" author="alb@neptunesystems.com" created="Mon, 20 Oct 2014 22:06:55 +0000"  >&lt;p&gt;Andrew,&lt;/p&gt;

&lt;p&gt;Thanks for the update; we&apos;ll apply the fixes in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15182&quot; title=&quot;Clang 3.5 reports error: &amp;#39;this&amp;#39; pointer cannot be null in well defined C++&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-15182&quot;&gt;&lt;del&gt;SERVER-15182&lt;/del&gt;&lt;/a&gt; to our version, as they seem quite straightforward.&lt;/p&gt;

&lt;p&gt;Given that the documentation for the legacy branch still discourages production use, I would encourage backport of this fix to the 26compat branch.&lt;/p&gt;</comment>
                            <comment id="745745" author="acm" created="Mon, 20 Oct 2014 21:55:16 +0000"  >&lt;p&gt;Hi -&lt;/p&gt;

&lt;p&gt;Thanks for the report. This has actually already been fixed in the server master branch, and that fix has been backported to the C++ driver legacy branch. The fix will be available in the upcoming legacy-1.0.0-rc1 release expected later this week. See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15182&quot; title=&quot;Clang 3.5 reports error: &amp;#39;this&amp;#39; pointer cannot be null in well defined C++&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-15182&quot;&gt;&lt;del&gt;SERVER-15182&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-339&quot; title=&quot;Backport server r2.7.6..r2.7.7 changes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-339&quot;&gt;&lt;del&gt;CXX-339&lt;/del&gt;&lt;/a&gt; for information about when and where this fix was applied.&lt;/p&gt;

&lt;p&gt;Please note though that we are unlikely to fix this in the 26compat branch unless the fix for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15182&quot; title=&quot;Clang 3.5 reports error: &amp;#39;this&amp;#39; pointer cannot be null in well defined C++&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-15182&quot;&gt;&lt;del&gt;SERVER-15182&lt;/del&gt;&lt;/a&gt; is applied in the 2.6 server branch, and that ticket is not currently marked for backport.&lt;/p&gt;

</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="157804">CXX-339</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|hs381b:</customfieldvalue>

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