<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:18:56 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-3756] CMakeLists.txt redefines &quot;message&quot; function</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3756</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;At the beginning of the top level CMakeLists.txt, the &quot;message&quot; function is redefined&lt;/p&gt;

&lt;p&gt;This causes significant problems if the mongo C driver is included as a sub-project within a larger CMake built code base.&#160;&lt;/p&gt;

&lt;p&gt;After adding mongo C to my project I was unable to get any messages from CMake after the mongo scripts had been parsed.&#160; Commenting out the following, solved the issue:&lt;/p&gt;

&lt;p&gt;#function (message)&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;list (GET ARGV 0 MessageType)&lt;/li&gt;
	&lt;li&gt;if (MESSAGES_ENABLED)&lt;/li&gt;
	&lt;li&gt;list (REMOVE_AT ARGV 0)&lt;/li&gt;
	&lt;li&gt;_message (${MessageType} &quot;${ARGV}&quot;)&lt;/li&gt;
	&lt;li&gt;endif ()&lt;br/&gt;
#endfunction ()&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;CMake already has log levels, could these not be used?&#160; I have included a link to the documentation below&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://cmake.org/cmake/help/latest/command/message.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://cmake.org/cmake/help/latest/command/message.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>All</environment>
        <key id="1412193">CDRIVER-3756</key>
            <summary>CMakeLists.txt redefines &quot;message&quot; function</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="roberto.sanchez@mongodb.com">Roberto Sanchez</assignee>
                                    <reporter username="bitshifthero@googlemail.com">Tom Wilson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Jul 2020 15:42:15 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:40 +0000</updated>
                            <resolved>Fri, 24 Jul 2020 14:46:02 +0000</resolved>
                                                    <fixVersion>1.18.0</fixVersion>
                    <fixVersion>1.17.3</fixVersion>
                    <fixVersion>1.18.0-alpha</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3503062" author="xgen-internal-githook" created="Tue, 24 Nov 2020 01:10:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3756&quot; title=&quot;CMakeLists.txt redefines &amp;quot;message&amp;quot; function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3756&quot;&gt;&lt;del&gt;CDRIVER-3756&lt;/del&gt;&lt;/a&gt; remove unused MESSAGES_ENABLED&lt;br/&gt;
Branch: r1.17&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/dad3b7804f2d09df5bfcf37dca22cad4c3464f3c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/dad3b7804f2d09df5bfcf37dca22cad4c3464f3c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3503061" author="xgen-internal-githook" created="Tue, 24 Nov 2020 01:10:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3756&quot; title=&quot;CMakeLists.txt redefines &amp;quot;message&amp;quot; function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3756&quot;&gt;&lt;del&gt;CDRIVER-3756&lt;/del&gt;&lt;/a&gt; eliminate CMake function redefinition&lt;br/&gt;
Branch: r1.17&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/670c2c7a8805ace341327c148872ae073a4cb6d4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/670c2c7a8805ace341327c148872ae073a4cb6d4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3325352" author="xgen-internal-githook" created="Thu, 6 Aug 2020 19:50:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3756&quot; title=&quot;CMakeLists.txt redefines &amp;quot;message&amp;quot; function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3756&quot;&gt;&lt;del&gt;CDRIVER-3756&lt;/del&gt;&lt;/a&gt; remove unused MESSAGES_ENABLED&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/3e4ee4a5f7ac5611fd01a16f8d79602d3b2d582a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/3e4ee4a5f7ac5611fd01a16f8d79602d3b2d582a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3300950" author="xgen-internal-githook" created="Fri, 24 Jul 2020 14:44:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3756&quot; title=&quot;CMakeLists.txt redefines &amp;quot;message&amp;quot; function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3756&quot;&gt;&lt;del&gt;CDRIVER-3756&lt;/del&gt;&lt;/a&gt; eliminate CMake function redefinition&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5ab86d634e24de99bd1f1b2ca27d69871139ee6d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5ab86d634e24de99bd1f1b2ca27d69871139ee6d&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="723390">CDRIVER-3041</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|hxi73b:</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>