[
https://issues.apache.org/jira/browse/COUCHDB-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988098#action_12988098
]
Klaus Trainer commented on COUCHDB-1048:
----------------------------------------
I wouldn't call this an issue, and definitely not a bug.
As long as we keep (backwards) compatibility with Erlang versions across
different major releases, such warnings will be a given.
As I recall, we want to keep CouchDB versions 1.0.X backwards compatible with
Erlang R13B03.
Regarding bool() and boolean(), I don't know in which version the renaming has
been done first.
Using httpc:request/4 instead of http:request/4 will break compatibility at
least with Erlang R13B03, so there is no way to make that warning disappear.
> Erlang compile warnings on R14B/RHEL5
> -------------------------------------
>
> Key: COUCHDB-1048
> URL: https://issues.apache.org/jira/browse/COUCHDB-1048
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 1.0.3
> Environment: RHEL5 with Erlang14B
> Reporter: Jeroen Janssen
> Priority: Minor
>
> When trying to build CouchDB 1.0.3 on RHEL 5 with Erlang14B I get the
> following warnings:
> /usr/bin/erlc couch_log.erl;
> ./couch_key_tree.erl:44: Warning: type bool() is now called boolean(); please
> use the new name instead
> ./couch_key_tree.erl:45: Warning: type bool() is now called boolean(); please
> use the new name instead
> ./couch_key_tree.erl:59: Warning: type bool() is now called boolean(); please
> use the new name instead
> ./couch_key_tree.erl:101: Warning: type bool() is now called boolean();
> please use the new name instead
> /usr/bin/erlc oauth_plaintext.erl
> ./oauth_http.erl:13: Warning: http:request/4 is deprecated and will be
> removed in R15B; use httpc:request/4
> /usr/bin/erlc etap_web.erl
> ./etap_web.erl:45: Warning: http:request/4 is deprecated and will be removed
> in R15B; use httpc:request/4
> ./etap_web.erl:59: Warning: http:request/4 is deprecated and will be removed
> in R15B; use httpc:request/4
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.