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

Andreas Stieger resolved SVN-4915.
----------------------------------
    Resolution: Fixed

Fixed in 
[r1915236|https://svn.apache.org/viewvc?view=revision&revision=1915236].

> Ruby bindings contain type error in NIL_P usage
> -----------------------------------------------
>
>                 Key: SVN-4915
>                 URL: https://issues.apache.org/jira/browse/SVN-4915
>             Project: Subversion
>          Issue Type: Bug
>          Components: bindings_swig_ruby
>    Affects Versions: 1.14.2
>            Reporter: Florian Weimer
>            Assignee: Yasuhito Futatsuki
>            Priority: Minor
>         Attachments: subversion-ruby-c99.patch
>
>
> The Ruby bindings apply the Ruby {{NIL_P}} macro to an {{apr_hash_t *}} 
> value, which some compilers flag as a type error. We see this while building 
> the bindings against Ruby 3.2 with a compiler that roughly behaves like 
> {{-Werror=int-conversion}} (no implicit conversions between integers and 
> pointers).
> The attached patch should fix this issue.
> Related to:
>  * [https://fedoraproject.org/wiki/Changes/PortingToModernC]
>  * [https://fedoraproject.org/wiki/Toolchain/PortingToModernC]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to