Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: (solved) Clean smoke-test install for Inline based modules using Inline::MakeMaker

by davido (Cardinal)
on Dec 15, 2011 at 20:05 UTC ( [id://943824]=note: print w/replies, xml ) Need Help??


in reply to Re^4: (solved) Clean smoke-test install for Inline based modules using Inline::MakeMaker
in thread Clean smoke-test install for Inline based modules using Inline::MakeMaker

Thanks again.

I'm thinking that this may better be handled by #ifdef segments, as surely I should be able to find some examples of robust solutions implementing that approach. So far, however, I seem to not be using search terms that land me on anything useful.


Dave

  • Comment on Re^5: (solved) Clean smoke-test install for Inline based modules using Inline::MakeMaker
  • Download Code

Replies are listed 'Best First'.
Re^6: (solved) Clean smoke-test install for Inline based modules using Inline::MakeMaker
by BrowserUk (Patriarch) on Dec 15, 2011 at 21:08 UTC

    I suspect that this might do the trick:

    _MSC_VER Reports the major and minor versions of the compiler. For example, 1310 for Microsoft Visual C++ .NET 2003. 1310 represents +version 13 and a 1.0 point release. The Visual C++ 2005 compiler version is 1400. In Visual Studio 2008, _MSC_VER is defined as 1500. The Visual Studio 2010, _MSC_VER is defined as 1600.

    Anything less than 1300 and you add the '.h', otherwise leave it off.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Perfect. ...Now for a free hour to apply and test a patch... I'll follow-up to your latest reply in this subthread once I get a chance to put a new version of Inline::CPP (v0.34 probably) on CPAN. Probably by tomorrow PST.

      I've got three other "FAIL"'s that I'm trying to work out in that module as well. One seems to be a linker issue, as the smoke tester's error message has mangled function names (name mangling is typical of C++) which show in the error message (undesirable, and atypical for C++. lol).


      Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://943824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-24 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found