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

Page principale
Supprimer ce message
Auteur: Craig Silverstein
Date:  
À: ph10
CC: pcre-dev
Sujet: 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