develooper Front page | perl.perl5.porters | Postings from March 2013

Re: [perl #117305] ISO C forbids braced-groups within expressions (cv.h, inline.h in 5.17.9)

Thread Previous | Thread Next
From:
Mark Martinec
Date:
March 25, 2013 10:59
Subject:
Re: [perl #117305] ISO C forbids braced-groups within expressions (cv.h, inline.h in 5.17.9)
Message ID:
201303251158.41017.Mark.Martinec@ijs.si
> Thanks. With that code, I was able to bisect the change to this commit:
>   commit b290562ef436d5316a2f75513def7f4f18c4ef34
>     Author:     Father Chrysostomos <sprout@cpan.org>
>     AuthorDate: Sat Jul 7 17:35:10 2012 -0700
> 	Allow CVs to point to HEKs rather than GVs
> [...]
> > So it seems to me that your statement:
> >   | In which case, I don't think perl has ever added PERL_GCC_PEDANTIC
> >   | to the command line or any include file.
> > is the key here, but it just so happens that one can get away
> > despite this with 5.16.* .
> 
> I think (but I'm willing to be convinced otherwise), based on the above
> (fairly innocuous) commit, that the situation is that if a module wants to
> build itself with -pendantic, then it needs to set PERL_GCC_PEDANTIC too;
> the fact that it wasn't needed in the past was just luck; the commit above
> introduced some inline function definitions that made the use of
> brace-groups "active" even for code that didn't directly or indirectly use
> macros such as CvGV.

Thank you for the investigation!

I'll pass this to the ZMQ-LibZMQ3 [rt.cpan.org #84124],
then I'm stepping down as a messanger between both tickets.

I hope the author of ZMQ-LibZMQ3 will chime in
if he has more to say.

  Mark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About