On 10 September 2013 21:31, Brian Fraser <fraserbn@gmail.com> wrote: [...] > The windows issue sounds like macro expansion works differently there; I > think this should fix it, but I cannot test it right now: Thanks, applied in commit ef3f731dc2 - that fixes the build for me :-) > > diff --git a/regcomp.c b/regcomp.c > index 9da2849..3e6ec29 100644 > --- a/regcomp.c > +++ b/regcomp.c > @@ -565,9 +565,11 @@ static const scan_data_t zero_scan_data = > > /* A specialized version of vFAIL2 that works with UTF8f */ > #define vFAIL2utf8f(m, a1) STMT_START { \ > - if (!SIZE_ONLY) \ > - SAVEFREESV(RExC_rx_sv); \ > - Simple_vFAIL4(m, a1); \ > + const IV offset = RExC_parse - RExC_precomp; \ > + if (!SIZE_ONLY) \ > + SAVEFREESV(RExC_rx_sv); \ > + S_re_croak2(aTHX_ UTF, m, REPORT_LOCATION, a1, \ > + REPORT_LOCATION_ARGS(offset)); \ > } STMT_END > > >Thread Previous | Thread Next