#!/usr/bin/env perl package main v0.1.0; use strict; use warnings; use Inline( CPP => <<'CPP', #undef seekdir #include CPP # ccflags => '-std=c++11', ccflags => '-std=gnu++11', clean_after_build => 0, clean_build_area => 0, ); 1; __END__ #### 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 ...