<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:06 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-2396] CMake build error when configuring project with ENABLE_SRV=OFF</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2396</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;If mongoc is configured with ENABLE_SRV=OFF&lt;br/&gt;
the following error occurs:&lt;br/&gt;
invalid token at start of a preprocessor expression&lt;br/&gt;
#if MONGOC_HAVE_DNSAPI != 1&lt;br/&gt;
...&lt;br/&gt;
if a define directive doesn&apos;t have a token we cannot use comparator operator.&lt;br/&gt;
we can use only #ifdef and if defined&lt;/p&gt;</description>
                <environment>OSX 10.3&lt;br/&gt;
cmake version 3.8</environment>
        <key id="462309">CDRIVER-2396</key>
            <summary>CMake build error when configuring project with ENABLE_SRV=OFF</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="tzulea">iulian</reporter>
                        <labels>
                            <label>build</label>
                            <label>cmake</label>
                    </labels>
                <created>Tue, 21 Nov 2017 16:00:31 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:17 +0000</updated>
                            <resolved>Tue, 21 Nov 2017 19:51:59 +0000</resolved>
                                    <version>1.8.2</version>
                                    <fixVersion>1.9.0</fixVersion>
                                    <component>Build</component>
                    <component>cmake</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1733288" author="xgen-internal-githook" created="Wed, 22 Nov 2017 20:52:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Iulian Rotaru&apos;, &apos;username&apos;: &apos;tzulea&apos;, &apos;email&apos;: &apos;iulian.rotaru@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2396&quot; title=&quot;CMake build error when configuring project with ENABLE_SRV=OFF&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2396&quot;&gt;&lt;del&gt;CDRIVER-2396&lt;/del&gt;&lt;/a&gt; build error if ENABLE_SRV=OFF&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/de392722236121977dda4c1d4a9ca2aae02bdeae&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/de392722236121977dda4c1d4a9ca2aae02bdeae&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1732654" author="tzulea" created="Wed, 22 Nov 2017 09:08:03 +0000"  >&lt;p&gt;we still nid to fix the build if ENABLE_SRV=OFF.&lt;br/&gt;
So we can set default values only in this case, and to allow check_symbol_exist to do his things.&lt;/p&gt;

&lt;p&gt;pullrequest:&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/464/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/464/files&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1732501" author="xgen-internal-githook" created="Wed, 22 Nov 2017 01:28:50 +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: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2396&quot; title=&quot;CMake build error when configuring project with ENABLE_SRV=OFF&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2396&quot;&gt;&lt;del&gt;CDRIVER-2396&lt;/del&gt;&lt;/a&gt; Set default values for mongoc-config.h. Simplify if checking and setting default values for mongoc-config.h&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit f81e63d&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/cab0d5c62cce7d361b07cc3f2ced4b1cbcdd2224&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/cab0d5c62cce7d361b07cc3f2ced4b1cbcdd2224&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1731915" author="xgen-internal-githook" created="Tue, 21 Nov 2017 18:26:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Iulian Rotaru&apos;, &apos;email&apos;: &apos;i.rotaru@cloudplan.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2396&quot; title=&quot;CMake build error when configuring project with ENABLE_SRV=OFF&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2396&quot;&gt;&lt;del&gt;CDRIVER-2396&lt;/del&gt;&lt;/a&gt; Set default values for mongoc-config.h.&lt;br/&gt;
Simplify if checking and setting default values for mongoc-config.h&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f81e63dd554946c5acc025ba4e9fffe90fbcfde9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f81e63dd554946c5acc025ba4e9fffe90fbcfde9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1731799" author="tzulea" created="Tue, 21 Nov 2017 17:17:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/463&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/463&lt;/a&gt;&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|htc907:</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>