Hm, I realized the test is wrong. It should be look like this:
{ 0, 0, "ab$", "ab" },
- { 0, 0 | F_NOMATCH, "ab$", "ab\r\n" },
+ { PCRE_DOLLAR_ENDONLY, 0 | F_NOMATCH, "ab$", "ab\r\n" },
{ PCRE_MULTILINE | PCRE_NEWLINE_CRLF, 0, "a$", "\r\raa\n\naa\r\naa" },
Is there other errors or only just this test case?
Regards,
Zoltan
"Zoltán Herczeg" <hzmester@???> wrote:
>Hi Sheri,>
>
welcome back!>
>
The warnings should not be dangerous, some type casts should solve them.>
>
The failing test case looks like this: tries /ab$/ on "ab\r\n" without multiline, which should not match. Could you try it with pcretest please? What is the output of /ab$/B in pcretest? Is it differ from /ab$/Bm ?>
>
Regards,>
Zoltan>
>
Sheri <silvermoonwoman@???> írta:>
>Sorry I missed the test phase. I have just built 8.30 in VC6. >>
RunTest.bat completed successfully but there was a failure in pcre_jit_test.>>
>>
Following is my build configuration:>>
PCRE version 8.30 2012-02-04>>
Compiled with>>
8-bit support only>>
UTF-8 support>>
Unicode properties support>>
Just-in-time compiler support: x86 32bit (little endian + unaligned)>>
Newline sequence is ANYCRLF>>
\R matches CR, LF, or CRLF only>>
Internal link size = 2>>
POSIX malloc threshold = 10>>
Default match limit = 10000000>>
Default recursion depth limit = 10000000>>
Match recursion uses heap>>
>>
This is the output from pcre_jit_test:>>
Running JIT regression tests>>
target CPU of SLJIT compiler: x86 32bit (little endian + unaligned)>>
in 8 bit mode with utf8 enabled and ucp enabled:>>
........................................................8 bit: Test >>
should not match: [57] 'ab$' @ 'ab>>
'>>
>>
Following are the 13 warnings that appeared during the build:>>
>>
C:\pcre-8.30\pcre-8.30\pcre_exec.c(6216) : warning C4146: unary minus >>
operator applied to unsigned type, result still unsigned>>
C:\pcre-8.30\pcre-8.30\pcre_jit_compile.c(6507) : warning C4244: >>
'function' : conversion from 'const unsigned short ' to 'unsigned char >>
', possible loss of data>>
C:\pcre-8.30\pcre-8.30\pcre_jit_compile.c(6514) : warning C4244: >>
'function' : conversion from 'const unsigned short ' to 'unsigned char >>
', possible loss of data>>
C:\pcre-8.30\pcre-8.30\pcre_jit_compile.c(6507) : warning C4761: >>
integral size mismatch in argument; conversion supplied>>
C:\pcre-8.30\pcre-8.30\pcre_jit_compile.c(6514) : warning C4761: >>
integral size mismatch in argument; conversion supplied>>
C:\pcre-8.30\pcre-8.30\sljit/sljitNativeX86_32.c(145) : warning C4761: >>
integral size mismatch in argument; conversion supplied>>
C:\pcre-8.30\pcre-8.30\sljit/sljitNativeX86_common.c(497) : warning >>
C4761: integral size mismatch in argument; conversion supplied>>
C:\pcre-8.30\pcre-8.30\sljit/sljitNativeX86_common.c(705) : warning >>
C4761: integral size mismatch in argument; conversion supplied>>
C:\pcre-8.30\pcre-8.30\sljit/sljitNativeX86_common.c(845) : warning >>
C4761: integral size mismatch in argument; conversion supplied>>
C:\pcre-8.30\pcre-8.30\pcre_jit_test.c(700) : warning C4090: 'function' >>
: different 'const' qualifiers>>
C:\pcre-8.30\pcre-8.30\pcre_jit_test.c(700) : warning C4022: >>
'pcre_fullinfo' : pointer mismatch for actual parameter 4>>
C:\pcre-8.30\pcre-8.30\pcre_jit_test.c(894) : warning C4090: 'function' >>
: different 'const' qualifiers>>
C:\pcre-8.30\pcre-8.30\pcre_jit_test.c(894) : warning C4022: >>
'pcre_config' : pointer mismatch for actual parameter 2>>
>>
>>
-- >>
## List details at
https://lists.exim.org/mailman/listinfo/pcre-dev >>
>