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

[perl #132955] USE_CPLUSPLUS build broken in 5.27 blead and all 5.26stables

Thread Previous | Thread Next
bulk88 via RT
April 21, 2018 00:23
[perl #132955] USE_CPLUSPLUS build broken in 5.27 blead and all 5.26stables
Message ID:
On Thu, 19 Apr 2018 23:08:56 -0700, bulk88 wrote:
> I still can't build C++ perl because of PL_nan wrong declaration by
> jhi
> . The lvalue cast and C++11 postfix operator space issues were found
> by others, not me.

I'm starting to think needs to be reverted outright. PL_nan/PL_inf must be either const and in globvar.sym or perlvars.h and RT inited. There are only 2 kinds of global vars in perl API. PL_nan/PL_inf should match existing infrastructure. Not special casing itself. Something about the jhi vax-netbsd series of commits doesn't make sense. On a C++ build, why does it matter if perl's core symbols are C mangled or C++ mangled by the CC/LD, aslong as its all declared the same way in every .o? How does the rest of globvar.sym global vars work with just EXTCONST (C++ sym name) but not "EXTERN_C const" on vax-netbsd platform? Is POSIX.xs compiled in C mode even on a C++ perl or something with EUMM CFLAGS changes? Is anyone but JHI able to compile perl for vax-netbsd?

bulk88 ~ bulk88 at

via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About