
Hi Benedikt, you wrote:
The tests work fine with
#define BOOST_UBLAS_NO_MEMBER_FRIENDS
Thanks for checking.
I just used:
set TOOLS=cwpro8 bjam "-sBUILD=<define>BOOST_UBLAS_NO_MEMBER_FRIENDS"
I am not sure though how to put this into the jamfile.
It would probably be better to add a Metrowerks configuration to ublas' config.hpp. I've already changed the start of it in my local copy to ---------- // Compiler specific problems: default configuration #if defined (BOOST_STRICT_CONFIG) || ! (\ defined (BOOST_MSVC) || \ defined (__GNUC__) || \ defined (__BORLANDC__) || \ defined (_ICL) || \ defined (_ICC) || \ defined (__COMO__) || \ defined (__MWERKS__)) ... #endif ---------- and added ---------- // Metrowerks Codewarrior #if defined (__MWERKS__) && ! defined (BOOST_STRICT_CONFIG) #define BOOST_UBLAS_TYPENAME typename #define BOOST_UBLAS_USING using #define BOOST_UBLAS_EXPLICIT explicit #define BOOST_UBLAS_USE_LONG_DOUBLE #define BOOST_UBLAS_USE_STREAM #define BOOST_UBLAS_NO_MEMBER_FRIENDS #endif ----------
I noticed that you put the same jam features into all subprojects. Could the common setting be factored out?
Probably. I've never put too much effort into the adoption of the build system, because ublas is header only from a user perspective.
I also don't understand why you have set features (turn off some warnings) for test1 only but not for test11, test12, test13.
That's surprising. I'll look into it. Thanks, Joerg