Re: [pcre-dev] Support for (*MARK)

Startseite
Nachricht löschen
Autor: Sheri
Datum:  
To: pcre-dev
Betreff: Re: [pcre-dev] Support for (*MARK)
On 3/29/2010 5:44 AM, Philip Hazel wrote:
> I have now implemented support for (*MARK), which I think was another
> issue that ND asked for. As this is quite a big change, I would like
> people to test it if possible. I have put a testing release here:
>
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-8.03-TEST-1.tar.gz
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-8.03-TEST-1.tar.bz2
> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/pcre-8.03-TEST-1.zip
>
> The documentation has been updated to explain what I have implemented
> for (*MARK) etc. See pcreapi for the programming interface, and
> pcrepattern for details of the syntax.
>
> Feedback on this new code is sought.
>
> (ND: the (*ACCEPT) fix is also in this testing release.)
>
> Philip
>
>

Doesn't build for me.

My cmake Msys configuation summary:

Build C++ library ............... : OFF
Enable UTF-8 support ............ : ON
Unicode properties .............. : ON
Newline char/sequence ........... : ANYCRLF
\R matches only ANYCRLF ......... : ON
EBCDIC coding ................... : OFF
Rebuild char tables ............. : OFF
No stack recursion .............. : ON
POSIX mem threshold ............. : 10
Internal link size .............. : 2
Match limit ..................... : 10000000
Match limit recursion ........... : MATCH_LIMIT
Build shared libs ............... : ON
Build static libs ............... : OFF
Build pcregrep .................. : ON
Build tests (implies pcretest) .. : ON
Link pcregrep with libz ......... : None
Link pcregrep with libbz2 ....... : None
Link pcretest with libreadline .. : None
Non-standard dll names (prefix) . : ON
Non-standard dll names (suffix) . : OFF

$ make
Scanning dependencies of target pcre
[ 4%] Building C object CMakeFiles/pcre.dir/pcre_chartables.obj
[ 8%] Building C object CMakeFiles/pcre.dir/pcre_compile.obj
[ 13%] Building C object CMakeFiles/pcre.dir/pcre_config.obj
[ 17%] Building C object CMakeFiles/pcre.dir/pcre_dfa_exec.obj
[ 21%] Building C object CMakeFiles/pcre.dir/pcre_exec.obj
c:/pcre-8.03/pcre-8.03-TEST-1/pcre_exec.c: In function `match':
c:/pcre-8.03/pcre-8.03-TEST-1/pcre_exec.c:717: error: duplicate label
`L_RM51'
c:/pcre-8.03/pcre-8.03-TEST-1/pcre_exec.c:687: error: `L_RM51'
previously defined here
c:/pcre-8.03/pcre-8.03-TEST-1/pcre_exec.c:723: error: duplicate label
`L_RM51'
c:/pcre-8.03/pcre-8.03-TEST-1/pcre_exec.c:687: error: `L_RM51'
previously defined here
c:/pcre-8.03/pcre-8.03-TEST-1/pcre_exec.c:737: error: duplicate label
`L_RM53'
c:/pcre-8.03/pcre-8.03-TEST-1/pcre_exec.c:730: error: `L_RM53'
previously defined here
c:/pcre-8.03/pcre-8.03-TEST-1/pcre_exec.c:756: error: duplicate label
`L_RM54'
c:/pcre-8.03/pcre-8.03-TEST-1/pcre_exec.c:750: error: `L_RM54'
previously defined here
make[2]: *** [CMakeFiles/pcre.dir/pcre_exec.obj] Error 1
make[1]: *** [CMakeFiles/pcre.dir/all] Error 2
make: *** [all] Error 2

Regards,
Sheri