<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:15 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-2450] Altering BSON_STATIC_ASSERT_JOIN2 macro is an API break</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2450</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/libbson/commit/4e27abb58de93736a3cff082300448184d2a3715&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;4e27abb&lt;/a&gt; changed the &lt;tt&gt;BSON_STATIC_ASSERT_JOIN2&lt;/tt&gt; macro, which is defined in a public header file. This is considered an API break for Fedora.&lt;/p&gt;

&lt;p&gt;Instead, we should revert &lt;tt&gt;BSON_STATIC_ASSERT2&lt;/tt&gt; to its original definition and introduce &lt;tt&gt;BSON_STATIC_ASSERT3&lt;/tt&gt; to fix the original issue in &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2271&quot; title=&quot;BSON_STATIC_ASSERT can trigger &amp;quot;error: redefinition of typedef&amp;quot; in clang&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2271&quot;&gt;&lt;del&gt;CDRIVER-2271&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="478786">CDRIVER-2450</key>
            <summary>Altering BSON_STATIC_ASSERT_JOIN2 macro is an API break</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Jan 2018 16:23:59 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:13 +0000</updated>
                            <resolved>Fri, 12 Jan 2018 03:01:53 +0000</resolved>
                                    <version>1.9.0</version>
                                    <fixVersion>1.9.1</fixVersion>
                                    <component>libbson</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1770915" author="xgen-internal-githook" created="Wed, 10 Jan 2018 22:51:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;ppisar@redhat.com&apos;, &apos;name&apos;: &apos;Petr P&#237;sa&#345;&apos;, &apos;username&apos;: &apos;ppisar&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2460&quot; title=&quot;BSON_STATIC_ASSERT() definition is broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2460&quot;&gt;&lt;del&gt;CDRIVER-2460&lt;/del&gt;&lt;/a&gt; fix BSON_STATIC_ASSERT definition&lt;/p&gt;

&lt;p&gt;The macro definition was mistakenly changed in 1.9.0 (&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2271&quot; title=&quot;BSON_STATIC_ASSERT can trigger &amp;quot;error: redefinition of typedef&amp;quot; in clang&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2271&quot;&gt;&lt;del&gt;CDRIVER-2271&lt;/del&gt;&lt;/a&gt;) and partly&lt;br/&gt;
reverted (&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2450&quot; title=&quot;Altering BSON_STATIC_ASSERT_JOIN2 macro is an API break&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2450&quot;&gt;&lt;del&gt;CDRIVER-2450&lt;/del&gt;&lt;/a&gt;). This change completely reverts the macro to its 1.8.0&lt;br/&gt;
definition.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Petr P&#237;sa&#345; &amp;lt;ppisar@redhat.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/35b0a890a50714b74d7793073d4d9e6693f70ad8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/35b0a890a50714b74d7793073d4d9e6693f70ad8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1768819" author="xgen-internal-githook" created="Tue, 9 Jan 2018 13:55:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2450&quot; title=&quot;Altering BSON_STATIC_ASSERT_JOIN2 macro is an API break&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2450&quot;&gt;&lt;del&gt;CDRIVER-2450&lt;/del&gt;&lt;/a&gt; preserve API compatibility in macros&lt;/p&gt;

&lt;p&gt;BSON_STATIC_ASSERT and related macros must not change signatures.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/ce7b6d46ffdb8564bbe4f29a0f5cc3467cf7cc9e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/ce7b6d46ffdb8564bbe4f29a0f5cc3467cf7cc9e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1765857" author="remi" created="Fri, 5 Jan 2018 08:24:17 +0000"  >&lt;p&gt;&amp;gt; I&apos;m curious, how did you discover this problem?&lt;/p&gt;

&lt;p&gt;We used to run various checks:&lt;/p&gt;

&lt;p&gt;1/ abi compliance checker&lt;/p&gt;

&lt;p&gt;See: &lt;a href=&quot;https://rpms.remirepo.net/compat_reports/libbson/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://rpms.remirepo.net/compat_reports/libbson/&lt;/a&gt;&lt;br/&gt;
But strangely this tool didn&apos;t catched this change&lt;/p&gt;

&lt;p&gt;2/ rpmdiff&lt;/p&gt;

&lt;p&gt;3/ diff on installed tree&lt;/p&gt;

&lt;p&gt;4/ build of dependent packages&lt;/p&gt;

&lt;p&gt;So, mongo-c-driver and php-pecl-mongodb, which was failing&lt;/p&gt;
</comment>
                            <comment id="1765671" author="jesse" created="Fri, 5 Jan 2018 00:11:05 +0000"  >&lt;p&gt;This was reported by &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=remi&quot; class=&quot;user-hover&quot; rel=&quot;remi&quot;&gt;remi&lt;/a&gt;. Remi, I&apos;m curious, how did you discover this problem?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="480932">CDRIVER-2460</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="425859">CDRIVER-2271</issuekey>
        </issuelink>
                            </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|htevi7:</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>