Re: Why do we test a build using g++?

[email protected] (Tony Cook) Tue, 30 Jun 2026 08:48:19 +1000
Newsgroups perl.perl5.porters
Message-ID <[email protected]>
On Mon, Jun 29, 2026 at 10:41:14PM +0100, Paul "LeoNerd" Evans wrote:
> I'd like to propose that (if there isn't another valid reason that is
> stronger than our desire to use C99 features) we find another way to
> test if the perl headers are compatible with C++. For example, could we
> ship a tiny "helloworld.cpp" program that also pulls in <perl.h> and
> <XSUB.h> or somesuch? Or maybe we write a tiny XS extension in C++ and
> compiled with g++, to use for such testing purposes?

See porting/cpphdrchecck.t

Tony