Boost logo

Boost Users :

From: jhr.walter_at_[hidden]
Date: 2003-05-18 03:47:19


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net