|
From: | Elias Mårtenson |
Subject: | Re: [Bug-apl] ⎕RE merged |
Date: | Mon, 9 Oct 2017 11:12:46 +0800 |
I fixed the problem by adding a static_cast<PCRE2_SIZE>(len), but I found another issue: The testcases file is missing.Regards,EliasOn 9 October 2017 at 10:41, Elias Mårtenson <address@hidden> wrote:Thank you.There are some errors when compiling on my Arch system:g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -Wold-style-cast -Werror -I/usr/include -I/usr/include -rdynamic -g -O2 -MT apl-Quad_RE.o -MD -MP -MF .deps/apl-Quad_RE.Tpo -c -o apl-Quad_RE.o `test -f 'Quad_RE.cc' || echo './'`Quad_RE.ccQuad_RE.cc: In static member function ‘static Value_P Quad_RE::partition_result(const Regexp&, const Quad_RE::Flags&, const UCS_string&)’: Quad_RE.cc:211:42: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]for (ShapeItem match_id = 1; B_offset < len; match_id += match_id_inc)~~~~~~~~~^~~~~cc1plus: all warnings being treated as errorsmake[3]: *** [Makefile:2725: apl-Quad_RE.o] Error 1make[3]: Leaving directory '/home/emartenson/src/apl/src'make[2]: *** [Makefile:3333: all-recursive] Error 1make[2]: Leaving directory '/home/emartenson/src/apl/src'make[1]: *** [Makefile:514: all-recursive] Error 1make[1]: Leaving directory '/home/emartenson/src/apl'make: *** [Makefile:401: all] Error 2Regards,EliasOn 9 October 2017 at 00:47, Juergen Sauermann <address@hidden> wrote:Hi,
I have merged Elias' ⎕RE implementation into GNU APL.
Thanks, Elias, for contributing it. See 'info apl' for a description
and src/testcases/Quad_RE.tc for examples of how to use ⎕RE.
SVN 1012.
Enjoy,
/// Jürgen
[Prev in Thread] | Current Thread | [Next in Thread] |