bind.hpp does not compile with Metrowerks CodeWarrior

The following line (starting at line 130 of boost/bind.hpp) does not compile: #if !( defined(__MWERKS__) && BOOST_WORKAROUND(__MWERKS__, <= 0x3003) ) template<class R, class T> inline _mfi::dm<R, T> unwrap(R T::* * pm, int) { return _mfi::dm<R, T>(*pm); } #if !BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600)) // IBM/VisualAge 6.0 is not able to handle this overload. template<class R, class T> inline _mfi::dm<R, T> unwrap(R T::* const * pm, int) { return _mfi::dm<R, T>(*pm); } #endif #endif I got the following message: Error : ')' expected bind.hpp line 132 template<class R, class T> inline _mfi::dm<R, T> unwrap(R T::* * pm, int) (the second * is underlined) and then many more errors. If a comment out the previous lines, the file properly compile. To have this error, I just need to include <boost/bind.hpp> file in my code. I am using CodeWarrior 9.3 for Palm and the version as given by __MWERKS__ is 0x3004. If I changes 0x3003 for 0x3004 (at line 130), it compile file (so the workaround is still required). Could one boost developper make the changes? I am using boost 1.32.0.

Philippe Mori wrote:
I am using CodeWarrior 9.3 for Palm and the version as given by __MWERKS__ is 0x3004. If I changes 0x3003 for 0x3004 (at line 130), it compile file (so the workaround is still required).
Could one boost developper make the changes? I am using boost 1.32.0.
This has already been fixed in CVS, it seems. Thanks anyway. :-)
participants (2)
-
Peter Dimov
-
Philippe Mori