Hi,
In PCRE library we have in pcreinal.h:
extern BOOL _pcre_is_newline(const uschar *, int, const uschar *,
int *, BOOL);
extern BOOL _pcre_was_newline(const uschar *, int, const uschar *,
int *, BOOL);
but inside pcrenewl.c:
BOOL _pcre_is_newline(USPTR ptr, int type, USPTR endptr,
int *lenptr, BOOL utf8)
BOOL _pcre_was_newline(USPTR ptr, int type, USPTR startptr,
int *lenptr, BOOL utf8)
This difference in casting confuse some C++ compilers, i.e. SunCC
recognize above declarations as different functions and generates
broken code for hbpcre.
It should be fixed to use the same declaration 'const uschar *' or
'USPTR' in both versions and probably reported to author. I do not
know which one he prefer to change but as temporary solution we
can chose anyone (we do not use CUSTOM_SUBJECT_PTR so for use it
does not make any difference). Viktor can you change it?
best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour