You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/22 20:49:45 UTC

[jira] [Commented] (COUCHDB-2761) Build errors in Fedora 22 regarding _BSD_SOURCE

    [ https://issues.apache.org/jira/browse/COUCHDB-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708127#comment-14708127 ] 

ASF subversion and git services commented on COUCHDB-2761:
----------------------------------------------------------

Commit 90a9dac99e38b4f2b0cb896ac7027a0948bd5437 in couchdb's branch refs/heads/1.x.x from [~kxepal]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=90a9dac ]

Fix glibc >= 2.20 support

Since 2.20 _BSD_SOURCE is deprecated in favor of _DEFAULT_SOURCE.
While _DEFAULT_SOURCE is safely ignored in <2.19, it implicitly
overrides _BSD_SOURCE if both are defined which helps to bypass
compilation warning.

COUCHDB-2761


> Build errors in Fedora 22 regarding _BSD_SOURCE
> -----------------------------------------------
>
>                 Key: COUCHDB-2761
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2761
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Build System
>            Reporter: Teddy Caddy
>
> When building from source on Fedora 22 64bit, it configures OK, but when you try to run `make`, it outputs this error message:
> _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE
> If I grep through all the source files and replace "_BSD_SOURCE" with "_DEFAULT_SOURCE", `make` will run OK.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)