zdm has asked for the wisdom of the Perl Monks concerning the following question:
This code compiled without errors under linux, but under strawberry perl 5.26.2 x64 it produce following error:#!/usr/bin/env perl package main v0.1.0; use strict; use warnings; use Inline( CPP => <<'CPP', #undef seekdir #include <sstream> CPP # ccflags => '-std=c++11', ccflags => '-std=gnu++11', clean_after_build => 0, clean_build_area => 0, ); 1; __END__
Maybe somebody already solved similar problems?D:\devel\perl\perl\lib\CORE/perl.h:3544:45: error: expected ')' before + '*' token # define PERL_GET_THX ((PerlInterpreter *)PERL_GET_CONTEXT) ^ D:\devel\perl\perl\lib\CORE/perl.h:3544:45: error: expected ')' before + '*' token D:\devel\perl\perl\lib\CORE/perl.h:3544:45: error: expected ')' before + '*' token D:\devel\perl\perl\lib\CORE/perl.h:3544:45: error: expected ')' before + '*' token D:\devel\perl\perl\lib\CORE/perl.h:3544:29: error: expected ';' at end + of member declaration # define PERL_GET_THX ((PerlInterpreter *)PERL_GET_CONTEXT) ... and so on ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: strawberry perl + Inline::CPP + <sstream> compilation error
by syphilis (Archbishop) on Jun 04, 2018 at 00:49 UTC | |
by zdm (Beadle) on Jun 04, 2018 at 02:15 UTC | |
by syphilis (Archbishop) on Jun 04, 2018 at 14:04 UTC | |
by zdm (Beadle) on Jun 04, 2018 at 19:31 UTC | |
|
Re: strawberry perl + Inline::CPP + <sstream> compilation error
by Anonymous Monk on Jun 03, 2018 at 22:02 UTC | |
by zdm (Beadle) on Jun 04, 2018 at 02:16 UTC |