blead won't compile on g++

In file included from perl.h:5346:0,
                  from toke.c:40:
toke.c: In function =E2=80=98int Perl_yylex(PerlInterpreter*)=E2=80=99:
embed.h:534:49: error: cannot convert =E2=80=98OP* {aka op*}=E2=80=99 to =
=E2=80=98char*=E2=80=99 in=20
assignment
  #define newSVOP(a,b,c)  Perl_newSVOP(aTHX_ a,b,c)
                                                  ^
toke.c:7196:17: note: in expansion of macro =E2=80=98newSVOP=E2=80=99
                  newSVOP(OP_CONST, 0,
0
public
4/5/2019 3:31:58 PM
perl.perl5.porters 47703 articles. 1 followers. Follow

2 Replies
46 Views

Similar Articles

[PageSpeed] 1

On 4/5/19 11:31 AM, Karl Williamson wrote:
> In file included from perl.h:5346:0,
>                   from toke.c:40:
> toke.c: In function ‘int Perl_yylex(PerlInterpreter*)’:
> embed.h:534:49: error: cannot convert ‘OP* {aka op*}’ to ‘char*’ in 
> assignment
>   #define newSVOP(a,b,c)  Perl_newSVOP(aTHX_ a,b,c)
>                                                   ^
> toke.c:7196:17: note: in expansion of macro ‘newSVOP’
>                   newSVOP(OP_CONST, 0,

Can you double-check that and provide perl -V output?

Our smoke testing rigs don't appear to be having a problem with g++.
0
jkeenan
4/6/2019 11:51:52 AM
On 4/6/19 5:51 AM, James E Keenan wrote:
> On 4/5/19 11:31 AM, Karl Williamson wrote:
>> In file included from perl.h:5346:0,
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from toke.c:40:
>> toke.c: In function =E2=80=98int Perl_yylex(PerlInterpreter*)=E2=80=99=
:
>> embed.h:534:49: error: cannot convert =E2=80=98OP* {aka op*}=E2=80=99 =
to =E2=80=98char*=E2=80=99 in=20
>> assignment
>> =C2=A0=C2=A0#define newSVOP(a,b,c)=C2=A0 Perl_newSVOP(aTHX_ a,b,c)
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
^
>> toke.c:7196:17: note: in expansion of macro =E2=80=98newSVOP=E2=80=99
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 newSVOP(OP_CONST, 0,
>=20
> Can you double-check that and provide perl -V output?
>=20
> Our smoke testing rigs don't appear to be having a problem with g++.
>=20

This was fixed shortly after I posted the email by
6894e6a7854351af3251a20ce5c787463bc7643a
0
public
4/6/2019 3:47:58 PM
Reply: