[ 
https://issues.apache.org/jira/browse/PROTON-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Conway closed PROTON-1761.
-------------------------------
    Resolution: Duplicate

Fixed by commit 9a8f9f59 PROTON-1738: [ruby] Fix compile warnings in SWIG source

> [ruby-binding] proton-c/bindings/ruby/cprotonRUBY_wrap.c:2166:26: warning: 
> implicit declaration of function ‘rb_thread_call_without_gvl’ 
> [-Wimplicit-function-declaration]
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-1761
>                 URL: https://issues.apache.org/jira/browse/PROTON-1761
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: ruby-binding
>         Environment: ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
>            Reporter: Jiri Daněk
>            Assignee: Alan Conway
>            Priority: Minor
>             Fix For: proton-c-0.21.0
>
>
> https://issues.apache.org/jira/issues/?jql=text%20~%20%22rb_thread_call_without_gvl%22
> {noformat}
> $ ninja -j4 install
> [214/269] Building C object 
> proton-c/bindings/ruby/CMakeFiles/cproton-ruby.dir/cprotonRUBY_wrap.c.o
> proton-c/bindings/ruby/cprotonRUBY_wrap.c: In function 
> ‘wrap_pn_messenger_send’:
> proton-c/bindings/ruby/cprotonRUBY_wrap.c:2166:26: warning: implicit 
> declaration of function ‘rb_thread_call_without_gvl’ 
> [-Wimplicit-function-declaration]
>  #define RB_BLOCKING_CALL rb_thread_call_without_gvl
>                           ^
> proton-c/bindings/ruby/cprotonRUBY_wrap.c:2227:12: note: in expansion of 
> macro ‘RB_BLOCKING_CALL’
>        rc = RB_BLOCKING_CALL(pn_messenger_send_no_gvl,
>             ^~~~~~~~~~~~~~~~
> [216/269] Generating qpid_proton-0.21.0.gem
>   Successfully built RubyGem
>   Name: qpid_proton
>   Version: 0.21.0
>   File: qpid_proton-0.21.0.gem
> {noformat}
> {noformat}
> $ git log
> commit ae3eaaa2e2351b29c23825d141ac9b5ba17cbdf6 (upstream/master)
> Author: Kim van der Riet <kvdr@localhost.localdomain>
> Date:   Fri Feb 2 16:53:33 2018 -0500
>     PROTON-1758: Change message application properties that are binary to 
> unicode string; raise error for other key types.
> {noformat}
> {noformat}
> $ ruby --version
> ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to