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

Etusivu
Poista viesti
Lähettäjä: Craig Silverstein
Päiväys:  
Vastaanottaja: ph10
Kopio: pcre-dev
Aihe: 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