Re: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6

Kezdőlap
Üzenet törlése
Szerző: Craig Silverstein
Dátum:  
Címzett: ph10
CC: pcre-dev
Tárgy: Re: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6
} This doesn't compile:

This is my mistake: __USER_LABEL_PREFIX__ isn't a string. The way to
fix this is to add
#define AS_STRING(x) AS_STRING_INTERNAL(x)
#define AS_STRING_INTERNAL(x) #x

and then replace every occurrence of __USER_LABEL_PREFIX__ with
AS_STRING(__USER_LABEL_PREFIX__).

Let me know if you'd like me to draw up an official patch to do this.

craig