Boost logo

Boost :

Subject: Re: [boost] [config][pathscale] Configurations for older versions
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2011-01-22 13:08:33


----- Original Message -----
From: "Bryce Lelbach" <admin_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, January 22, 2011 6:45 PM
Subject: Re: [boost] [config][pathscale] Configurations for older versions

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat, 22 Jan 2011 17:12:18 -0000
> John Maddock <boost.regex_at_[hidden]> wrote:
>
>> So... the plan B would be to change select_compiler.hpp to only forward to
>> pathscale.hpp when __PATHSCALE__ >= 4.
>
> I wrote it to do this. If it doesn't do it, then someone reverted/changed it.

select_compiler.hpp constains

#elif defined __PATHSCALE__
// PathScale EKOPath compiler (has to come before clang and gcc)
# define BOOST_COMPILER_CONFIG "boost/config/compiler/pathscale.hpp"

and boost/config/compiler/pathscale.hpp add difies only if __PATHCC__ >= 4.

#if __PATHCC__ >= 4
# define BOOST_MSVC6_MEMBER_TEMPLATES
...

I think the best will to don't change select_compiler.hpp and if __PATHCC__ < 4 include boost/config/compiler/gcc.hpp in the file pathscale.hpp.

Best,
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk