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

[email protected] (Tony Cook) Tue, 30 Jun 2026 09:44:02 +1000
Newsgroups perl.perl5.porters
Message-ID <[email protected]>
On Tue, Jun 30, 2026 at 01:39:37AM +0200, Leon Timmermans wrote:
> On Mon, Jun 29, 2026 at 11:42 PM Paul "LeoNerd" Evans <
> [email protected]> 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?
> >
> 
> Well volunteered! ;-)

porting/cpphdrcheck.t already checks C++ header compatibility.

Tony