Uploaded image for project: 'SWORD'
  1. SWORD
  2. API-204

Small improvements to allow compilation with clang and some fixes

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.40
    • Fix Version/s: 1.8.0
    • Component/s: core
    • Labels:
      None
    • Environment:

      OS: OpenBSD 6.2 / adJ 6.2

      Compiler: clang 4.0.0

       

       

       

      Description

      clang complains about some comparision of pointers with integer, and some were wrong.

      The attached patch solves the problems.

      I found the problem when updating the port of sword for adJ from 6.1 to 6.2. See

      https://en.wikipedia.org/wiki/AdJ

        Attachments

        1. patch-include_gbfredletterwords_h
          0.3 kB
          Vladimir Támara Patiño
        2. patch-src_keys_treekeyidx_cpp
          1 kB
          Vladimir Támara Patiño
        3. patch-src_mgr_swmgr_cpp
          0.4 kB
          Vladimir Támara Patiño
        4. patch-src_modules_common_rawstr_cpp
          0.9 kB
          Vladimir Támara Patiño
        5. patch-src_modules_common_rawstr4_cpp
          0.9 kB
          Vladimir Támara Patiño
        6. patch-src_modules_common_zstr_cpp
          0.9 kB
          Vladimir Támara Patiño
        7. patch-src_modules_lexdict_rawld_rawld_cpp
          0.3 kB
          Vladimir Támara Patiño
        8. patch-src_modules_lexdict_rawld4_rawld4_cpp
          0.3 kB
          Vladimir Támara Patiño
        9. patch-src_modules_lexdict_zld_zld_cpp
          0.3 kB
          Vladimir Támara Patiño

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vtamara Vladimir Támara Patiño
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: