PCRE_UTF8 unavailable when using configure-alt
Posted: Wed Nov 24, 2010 7:04 pm
Hello, Lutz
Is the bug report good here?
This seems for the error to happen when SUPPORT_UTF8 is undefined when pcre.c is compiled.
---
kosh - newlisp v.10.2.16 on Ubuntu 9.10 IPv4
Is the bug report good here?
Code: Select all
$ ./configure && make
gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX pcre.c
...
$ ./newlisp -n -e '(regex-comp "ほげほげ" 0x800)' # PCRE_UTF8 = 0x800
"ERCP7\000..."
Code: Select all
$ ./configure-alt && make
gcc -m32 -Wall -pedantic -Wno-long-long -Wno-strict-aliasing -O2 -c -DNEWCONFIG pcre.c
...
$ ./newlisp -n -e '(regex-comp "ほげほげ" 0x800)'
ERR: regular expression in function regex-comp : "offset 0 this version of PCRE is not compiled with PCRE_UTF8 support"
---
kosh - newlisp v.10.2.16 on Ubuntu 9.10 IPv4