Subject: | Inline::CPP crashes when C++ <iomanip> header in included |
Date: | Mon, 24 Sep 2018 16:07:32 +0300 |
To: | bug-Inline-CPP [...] rt.cpan.org |
From: | xcdc dxcx <xcdcdxcx [...] gmail.com> |
What subject says. Simple test case:
#!/usr/bin/env perl
use 5.026;
use strict;
use warnings;
use Inline CPP => <<'CODE';
#include <iomanip>
void check () {
int X;
}
CODE
check();
This code crashes with multiple errors, first one is:
/usr/include/c++/8/bits/locale_facets_nonio.h:1855:40: error: macro
"do_open" requires 7 arguments, but only 2 given
{ return this->do_open(__s, __loc); }
Inline::CPP version 0.75