----- Original Message -----
From: "邬 明辉" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 22, 2006 5:34 PM
Subject: Re: Inline::CPP build wrong about 'MODULE'
> The problem is still exist. I do not know why the INC Config is
> wrong!
>
I don't know either :-)
What happens when you run the following Inline::C script:
-----------------------------
use warnings;
use Inline CPP => Config =>
INC => '-I/some/rubbish -I/some/more/rubbish',
BUILD_NOISY => 1;
use Inline CPP => <<'EOC';
void greet() {
printf("Hello World\n");
}
EOC
greet();
-----------------------------
Does the script compile (and output "Hello World" followed by a newline) ?
Do you see (during the "make" stage) that "/some/rubbish" and
"/some/more/rubbish" have been added to the includes path ?
(For me, the answer to both of those questions is "yes").
Cheers,
Rob