# from Sisyphus
# on Saturday 16 June 2007 06:56 am:
>Just wanting to verify that (given that "RUBBISH" is not defined) its
> an Inline::C bug that the following script will not compile:
works fine here
$ perl inline_bug_ifdef.pl
RUBBISH not defined
This is perl, v5.8.4 built for i386-linux-thread-multi on debian sarge
and v5.8.8 built for i486-linux-gnu-thread-multi on debian etch.
Perhaps you mean:
#ifdef RUBBISH
void bar() {
printf("RUBBISH is defined\n");
}
#else
void bar() {
printf("RUBBISH not defined\n");
}
#endif
EOC
bar();
? That is, you want to change the bar() definition and the "foo" thing
is vestigial? Anyway, this form also works for me. Maybe some
staleness in the ~/.Inline directory?
--Eric
--
Cult: A small, unpopular religion.
Religion: A large, popular cult.
-- Unknown
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------