use strict; use Inline 'CPP' => config => BUILD_NOISY => 1; foobar(); use Inline 'CPP' => <<'CODE'; #include // not needed - gets included automatically #include void foobar() { std::cout << "foobar" << std::endl; } void break_me(SV * a, SV * b) { write(a, b); } CODE #### try_pl_dec5.xs:28:14: error: macro "PerlLIO_write" requires 3 arguments, but only 2 given write(a, b);