You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jeroen Janssen (JIRA)" <ji...@apache.org> on 2011/01/28 15:13:44 UTC

[jira] Created: (COUCHDB-1048) Erlang compile warnings on R14B/RHEL5

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.


[jira] Commented: (COUCHDB-1048) Erlang compile warnings on R14B/RHEL5

Posted by "Klaus Trainer (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (COUCHDB-1048) Erlang compile warnings on R14B/RHEL5

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988121#action_12988121 ] 

Paul Joseph Davis commented on COUCHDB-1048:
--------------------------------------------

+1 for Adam

> 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.


[jira] Resolved: (COUCHDB-1048) Erlang compile warnings on R14B/RHEL5

Posted by "Adam Kocoloski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Kocoloski resolved COUCHDB-1048.
-------------------------------------

    Resolution: Won't Fix

I believe we're trying to keep the 1.0 series compatible with R12B05.  The boolean() type was introduced in R13, and I think the httpc module was too.

I used the boolean() type in the specifications for 1.1.x and trunk, and if the httpc module is not already being used there it should be.

No one has yet mentioned whether we'll try to support R12-R15 in one branch.  It looks like it will be difficult.  But R15 is not released yet, so for now I think this is a "Won't Fix"

> 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.