details: http://freenginx.org/hg/nginx/rev/8149e6e3ea2a branches: changeset: 9318:8149e6e3ea2a user: Maxim Dounin <mdou...@mdounin.ru> date: Wed Aug 07 03:59:13 2024 +0300 description: Updated PCRE2 used for win32 builds.
Note that PCRE2 10.40 and newer versions require C99 support, as it now uses "for (int i = 0; ...)" constructs[1], and thus cannot be compiled with MSVC 2010 and older versions anymore. [1] https://github.com/PCRE2Project/pcre2/issues/163 diffstat: auto/lib/pcre/make | 3 ++- misc/GNUmakefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diffs (25 lines): diff --git a/auto/lib/pcre/make b/auto/lib/pcre/make --- a/auto/lib/pcre/make +++ b/auto/lib/pcre/make @@ -36,7 +36,8 @@ if [ $PCRE_LIBRARY = PCRE2 ]; then pcre2_valid_utf.c \ pcre2_xclass.c" - ngx_pcre_test="pcre2_convert.c \ + ngx_pcre_test="pcre2_chkdint.c \ + pcre2_convert.c \ pcre2_extuni.c \ pcre2_find_bracket.c \ pcre2_script_run.c \ diff --git a/misc/GNUmakefile b/misc/GNUmakefile --- a/misc/GNUmakefile +++ b/misc/GNUmakefile @@ -8,7 +8,7 @@ CC = cl OBJS = objs.msvc8 OPENSSL = openssl-3.0.14 ZLIB = zlib-1.3.1 -PCRE = pcre2-10.39 +PCRE = pcre2-10.44 release: export