Re: does Inline::CPP recognize #import ?

[email protected] ("Sisyphus")
Newsgroups perl.inline
Message-ID <026D7E13F2014026896F828466B50820@desktop2>
----- Original Message ----- 
From: "Xiao Yafeng" <[email protected]>
To: "Sisyphus" <[email protected]>
Cc: "inline" <[email protected]>; "David Oswald" <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.