Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4915

Ruby bindings contain type error in NIL_P usage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.14.2
    • trunk
    • bindings_swig_ruby
    • None

    Description

      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:

      Attachments

        1. subversion-ruby-c99.patch
          0.9 kB
          Florian Weimer

        Activity

          People

            futatuki Yasuhito Futatsuki
            fweimer@redhat.com Florian Weimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: