Hi Przemek, Peter,
Very strange results. I do not know anything about compiler
dependent code in this example.
I think that I know what could be a problem:
regular expressions library.
BCC uses its own copy of very old PCRE library to emulate
POSIX regex. Just simply this library is used during linking
instead of HBPCRE and code which uses regular expressions
fails. It also explains why it works with harbour.dll which
is linked correctly with HBPCRE in Harbour build make files.
Please add HBPCRE to linked library list and it should begin
to work.
Can we somehow make it the default for BCC to use Harbour's
PCRE _only_, and remove the option to use own BCC one? Where
should thid be done?
To be honest I'm still a bit confused on PCRE settings, so
I couldn't ever test the Harbour built-in one.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour