Re: [pcre-dev] A test for the memory mismatch problem

トップ ページ
このメッセージを削除
著者: Sheri
日付:  
To: pcre-dev
CC: pcre-dev
題目: Re: [pcre-dev] A test for the memory mismatch problem
Sheri wrote:
> Philip Hazel wrote:
>
>> On Thu, 29 Mar 2007, Sheri wrote:
>>
>> can we test this? Ah, I know. Please insert these lines before the line
>> containing "/* Have to include stdlib.h in order to ensure that size_t
>> is defined;" (around lin 74) in pcre.h:
>>
>> #ifdef _WIN32
>> #error _WIN32 is defined
>> #else
>> #error _WIN32 is not defined
>> #endif
>>
>> Then try to build PCRE. It will fail, but you will get one or the other
>> of those messages. Hmm. I see that in pcretest.c, there is also a test
>> for WIN32 (without the underscore). Perhaps you could try the test
>> without the underscores as well.
>>
>>
>> Philip
>>
>>
>>
> pcre.h:75:2: #error _WIN32 is defined
>
> Regards,
> Sheri
>
>
>

oops, repeated with same addition altered to remove the underscores:

pcre.h:75:2: #error WIN32 is defined

Regards,
Sheri