[pcre-dev] [Bug 2437] New: compile error for unknown type na…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2437] New: compile error for unknown type name 'pcre2_general_context_' when building r1161
https://bugs.exim.org/show_bug.cgi?id=2437

            Bug ID: 2437
           Summary: compile error for unknown type name
                    'pcre2_general_context_' when building r1161
           Product: PCRE
           Version: 10.33 (PCRE2)
          Hardware: x86-64
                OS: MacOS X
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: siegel@???
                CC: pcre-dev@???


Created attachment 1218
--> https://bugs.exim.org/attachment.cgi?id=1218&action=edit
output of "make"

I recently did `svn up` to pull the latest sources and build/test; this updated
my working copy to r1161. I then did "make clean" followed by "make".

Expected outcome:
=> compiled and generated libraries as in previous revisions

Actual outcome:
=> compile errors, as shown in the attached log. The first of them (which
appears to start a cascade) is:

In file included from /Users/siegel/svn/pcre2/src/dftables.c:60:
/Users/siegel/svn/pcre2/src/pcre2_maketables.c:151:23: error: unknown type name
'pcre2_general_context_'; did you mean 'pcre2_general_context_8'?
pcre2_maketables_free(pcre2_general_context *gcontext, const uint8_t *tables)

Regression:
=> If I `svn up . -r1160` to rewind my working copy one revision, "make"
succeeds in building the libraries, as before.

If it matters, I am using macOS 10.14.6, and the Xcode 10.3 toolchain.

RocketSled:~ siegel$ clang -v
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

--
You are receiving this mail because:
You are on the CC list for the bug.