----- Original Message -----
From: "Xiao Yafeng" <xyf.x...@gmail.com>
To: "Sisyphus" <sisyph...@optusnet.com.au>
Cc: "inline" <inline@perl.org>; "David Oswald" <daosw...@gmail.com>
Sent: Monday, July 23, 2012 3:14 PM
Subject: Re: does Inline::CPP recognize #import ?
installed Inline::CPP 0.39, but situation doesn't change:
use strict;
use warnings;
use Inline CPP=>Config=>
CC => 'cl.exe /TP',
Bad advice from me.
Looks like the default is 'cl -TP -EHsc' (which should have been the default
suggested during the 'perl Makefile.PL' step, and which is what you should
use).
So try that instead.
It still might not work.
The main problem is that we don't seem to have an Inline::CPP expert who
also understands the C++ idiosyncracies of MS compilers.
(I fail to qualify on both counts - in fact I don't know C++ at all.)
If it's possible for you to test :
What happens if you try the same test script using an Inline::C and
Inline-CPP-0.39 that was built for a MinGW (gcc) compiler ?
Cheers,
Rob