On Fri, 20 Feb 2015, Petr Pisar wrote:

> * All tests pass, compiler emits warnigs on 32-bit plaforms:

I will try to remember to do a 32-bit test compile before putting out 
future releases. (I do still have a working old 32-bit machine.) I have 
fixed these warnings by casting the data to (unsigned long int). I 
wondered about using %zd instead of %ld, but %zd seems to be a 
gcc-specific thing.

> * Compilation fails:
> 
> ARMv6 with FPU, enabled JIT
> 
>   CC       src/libpcre2_8_la-pcre2_jit_compile.lo
> src/sljit/sljitNativeARM_32.c: In function 'resolve_const_pool_index':
> src/sljit/sljitNativeARM_32.c:340:28: error: 'compiler' undeclared (first use 
> in this function)
>      SLJIT_FREE(curr_patch, compiler->allocator_data);
>                             ^
> src/pcre2_jit_compile.c:60:61: note: in definition of macro 'SLJIT_FREE'
>  #define SLJIT_FREE(ptr, allocator_data) pcre2_jit_free(ptr, allocator_data)
>                                                              ^
> src/sljit/sljitNativeARM_32.c:340:28: note: each undeclared identifier is 
> reported only once for each function it appears in
>      SLJIT_FREE(curr_patch, compiler->allocator_data);
>                             ^
> src/pcre2_jit_compile.c:60:61: note: in definition of macro 'SLJIT_FREE'
>  #define SLJIT_FREE(ptr, allocator_data) pcre2_jit_free(ptr, allocator_data)
>                                                              ^
> Makefile:2041: recipe for target 'src/libpcre2_8_la-pcre2_jit_compile.lo' 
> failed
> 
> I think PCRE-8.36 supported JIT on that machine (Raspberry Pi).

Zoltán?

Philip

-- 
Philip Hazel
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to