Does the Inline ILSM object (or some other part of the API) contain
the version number of the compiler being used to compile Inline::C or
Inline::CPP code?

We have a situation where Active Perl is compiled with MS Visual
Studio 2003, which still used iostream.h, whereas newer versions of
the compiler use iostream.  If I could detect inside Inline::CPP which
version of a compiler is being used I could cause Inline::CPP to react
accordingly.

I thought we had the problem mostly worked out, but BrowserUk at
PerlMonks managed to come up with a configuration where Inline::CPP
fails to work properly due to the old '.h' issue.  He apparently has
built his Perl with a newer MS Visual Studio version that doesn't like
the '.h' extension.  Yet to accommodate ActiveState's builds we're
detecting the compiler (by name match) m/^cl/ and appending the '.h'.
That's fine for the ActiveState people, but anyone else who has their
own build based on a newer MS Visual C++ has a problem.



-- 

David Oswald
daosw...@gmail.com

Reply via email to