Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#10 Patch for MSVC 2008 compatibility

closed-accepted
nobody
None
5
2010-05-16
2010-05-12
Alex
No

While trying to build cgkit for Python 2.6 using Visual Studio 2008 Professional, I got errors like this one:

wrappers/rply/py_rply_read.cpp(481) : error C2668: 'boost::python::make_tuple' : ambiguous call to overloaded function
C:/py/boost/boost_1_42_0/boost/python/detail/make_tuple.hpp(22): ...

The attached patch fixes this compiling error as described here:
http://stackoverflow.com/questions/2734012/make-tuple-with-boostpython-under-visual-studio-9

Alex

Discussion

  • Alex
    Alex
    2010-05-12

    MSVC 2008 compatibility patch

     
  • Matthias Baas
    Matthias Baas
    2010-05-16

    I've applied the patch.
    (Weird, I don't see that compile error here using MSVC 2008 Express, but I still have an older version of Boost (1.39), maybe that's the reason why...?)

     
  • Matthias Baas
    Matthias Baas
    2010-05-16

    • status: open --> closed-accepted