Page 1 of 1

Compile error when defining DEBUG

Posted: Mon Jan 23, 2006 17:09
by WhiteKnight
When I define DEBUG, src\pcre\pcre.c line 543 includes printint.c which is not included in the src\pcre directory. This can be fixed by downloading pcre 5.0 and copying printint.c to src\pcre and then adding the following two includes at the top of printint.c:
#include "ucp.h"
#include "ucptypetable.c"

Should I submit a patch or is this sufficient, as I don't know if you want to solve the problem this way?

<edit>BTW this is for version 0.4.1</edit>

Re: Compile error when defining DEBUG

Posted: Sat Feb 04, 2006 20:55
by CrazyEddie
Ummmmm.

I think we'll upgrade completely to pcre 5.0 for the next release, and make sure that all files are present and correct.

Thanks for the report! :)

CE.