develooper Front page | perl.perl5.porters | Postings from May 2018

Re: [perl #133203] g++ 7.3 won't compile perl

Thread Previous
From:
H.Merijn Brand
Date:
May 16, 2018 13:56
Subject:
Re: [perl #133203] g++ 7.3 won't compile perl
Message ID:
20180516155629.00142d69@pc09.procura.nl
On Wed, 16 May 2018 13:43:01 +0100, Dave Mitchell <davem@iabyn.com>
wrote:

> On Tue, May 15, 2018 at 05:12:20PM -0700, karl williamson (via RT) wrote:
> > inline.h:20:5: note: in expansion of macro ‘PERL_ARGS_ASSERT_AV_TOP_INDEX’
> > 	      PERL_ARGS_ASSERT_AV_TOP_INDEX;
> > 	      ^
> > 	 inline.h: In function ‘STRLEN S_sv_or_pv_pos_u2b(PerlInterpreter*, 
> > SV*, const c har*, STRLEN, STRLEN*)’:
> > 	*proto.h:4565:2: error: invalid static_cast from type ‘SV* {aka sv*}’ 
> > to type ‘c*har’
> > 	   assert(sv); assert(pv)
> > 
> > If I redefine assert() to get past this, it fails later with things like
> > 
> > sv.h:334:24: error: expression cannot be used as a function
> > #define SvFLAGS(sv) (sv)->sv_flags
> > 
> > Since it continues to compile with gcc 7.3, this is not a 5.28 blocker.  
> 
> It builds ok for me with:
> 
>     $ g++ --version
>     g++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)

http://perl5.test-smoke.org/report/65972
g++ version 8.0.1 20180425 (prerelease) [gcc-8-branch revision 259638]
PASS

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.27   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


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