Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-11061

Make fails ibfreeswitch_la-switch_regex.lo incompatible pointer types

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.8.0
    • Component/s: Build-System
    • Labels:
      None
    • Environment:
      macOS 10.13
    • CPU Architecture:
      x86-64
    • Kernel:
      OS X (Mach)
    • uname:
      Darwin FS-1013.local 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
    • Userland:
      OS X
    • Distribution:
      OS X
    • Distribution Version:
      OS X 10.10
    • Compiler:
      clang
    • Compiler Version:
      Apple LLVM version 9.0.0 (clang-900.0.39.2)
    • FreeSWITCH GIT Revision:
      dd0bb0e331a0e4d9dfc23b16bf84b8b0f3fbfe18
    • GIT Master Revision hash::
      dd0bb0e331a0e4d9dfc23b16bf84b8b0f3fbfe18

      Description

      Make fails with:
        CC libfreeswitch_la-switch_regex.lo
      src/switch_regex.c:40:9: error: incompatible pointer types returning 'pcre *' (aka 'struct real_pcre8_or_16 *') from a function with result
            type 'switch_regex_t *' (aka 'struct real_pcre *') [-Werror,-Wincompatible-pointer-types]
              return pcre_compile(pattern, options, errorptr, erroroffset, tables);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      1 error generated.

      The last time I tested make was March 10 and it was good. Bootstrap/configure/make logs attached.

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              mario_fs Mario G
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: