This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Followup on a4570f51 for t/porting/extrefs.t
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 23 Feb 2017 14:51:42 +0000 (09:51 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 24 Feb 2017 13:13:13 +0000 (08:13 -0500)
commita5d565cd966ec58e5f3ca05b219fe919086f43b1
tree7a6db157c59ec84e088daeb8a91d3aae603834f4
parent95e62f9f8dd60dc0c6b50e144c90d1640f899cd9
Followup on a4570f51 for t/porting/extrefs.t

More functions have appeared that are PERL_STATIC_INLINE, but the
porting/extrefs.t compiles with -DPERL_NO_INLINE_FUNCTIONS, which
means no bodies are visible, but the Tru64 cc takes static inline
seriously, requiring the bodies.

Instead of the manual tweak of adding #ifndef PERL_NO_INLINE_FUNCTIONS
to embed.fnc, fix the problem in embed.pl so that 'i' type inserts the
required ifndef.  Remove the manual PERL_NO_INLINE_FUNCTIONS insertions
made in a4570f51 (note that the types of some have diverged).
Now the extrefs.t again works in Tru64 (and no other compiler
has ever tripped on this).
embed.fnc
embed.h
proto.h
regen/embed.pl