<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:22:03 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>[CDRIVER-4822] aggressively clean up warnings in public headers</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4822</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Based on a discussion arising from &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4813&quot; title=&quot;Document library consumption from Scons &amp;amp; meson&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4813&quot;&gt;&lt;del&gt;CDRIVER-4813&lt;/del&gt;&lt;/a&gt; in Slack and a recommendation from &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=colby.pike%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;colby.pike@mongodb.com&quot;&gt;colby.pike@mongodb.com&lt;/a&gt; in that discussion, we need to ensure that our public headers compile without warnings when the most aggressive available warning flags are enabled.&lt;/p&gt;

&lt;p&gt;Here is Colby&apos;s suggestion:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;We should continue to use &lt;tt&gt;-I&lt;/tt&gt;, but very very proactively check our headers against the &lt;br/&gt;
most aggressive &lt;tt&gt;-Werror&lt;/tt&gt; that is available for each compiler (including new ones that we aren&apos;t yet using, no need for full CI, just feed the &lt;tt&gt;bson.h&lt;/tt&gt; and &lt;tt&gt;mongoc.h&lt;/tt&gt; through &lt;tt&gt;-fsyntax-only -Werror&lt;/tt&gt; and make sure it comes out clean.)&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;In a further discussion it was pointed out that while clang has a &lt;tt&gt;-Weverything&lt;/tt&gt; option that enables every possible warning, the corresponding gcc &lt;tt&gt;-Wall&lt;/tt&gt; does not actually enable all possible warnings. For each compiler it will be necessary to determine the correct invocation that enables the maximum possible number of warnings and then selectively disable any which may not make sense in our context.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2564335">CDRIVER-4822</key>
            <summary>aggressively clean up warnings in public headers</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="roberto.sanchez@mongodb.com">Roberto Sanchez</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Feb 2024 18:50:23 +0000</created>
                <updated>Mon, 5 Feb 2024 20:10:25 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26433"><![CDATA[C Drivers]]></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_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY25Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2t0o4:</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>