----- Original Message ----- From: "Eric Wilhelm" <[EMAIL PROTECTED]>
. .
Ah, I see what you're getting at. I have the same foo() in my generated file, but my gcc is 3.3.5 and 4.1.2 (both make no trouble, but might have something to say about it with warnings on?)
I'm using gcc-3.2.2 on linux, and gcc-3.4.5 on winders - both of which want to make trouble. Seems odd - maybe it's just a Southern Hemisphere thing.
It appears that this is a bug in inline's parser (where it doesn't check ifdefs when generating the xs code.)
I tried using ParseRegExp.pm (after fixing it), but that doesn't help. The same error still arises.
(I seem to remember a mention of something like that in the docs.) However, I think we might be stuck with that barring a reimplementation of the preprocessor or something similarly large and difficult
In any case, it's not all that hard to work around.
Oops, I've now exhausted my pseudo-relevant and questionably-correct knowledge.
Aaaah, yes .... I know the feeling well :-) Thanks Eric. Cheers, Rob