Re: [pcre-dev] [Bug 1038] memcmp not available in pcrecpp_s…

Top Page
Delete this message
Author: Craig Silverstein
Date:  
To: 1038
CC: pcre-dev
Subject: Re: [pcre-dev] [Bug 1038] memcmp not available in pcrecpp_stringpiece.h compiling with BCB 6
OK, let's do the following fix then:

In pcre_stringpiece.h, change the line
#include <string.h>
to
#include <cstring>

Right before the line
using std::string;
add these lines:
using std::memcmp;
using std::strlen;

Thorsten, does this fix things for you? If so, let's go for that for
the next release.

Philip, are you still following this thread? Are you ok making these
changes (assuming they solve this problem)? -- or would you prefer to
see a patch?

craig