|
Boost : |
Subject: Re: [boost] [config][pathscale] Configurations for older versions
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-01-22 13:08:40
>> 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.
Nope: https://svn.boost.org/trac/boost/changeset/67707
The plan would be to change to:
Index: select_compiler_config.hpp
===================================================================
--- select_compiler_config.hpp (revision 68366)
+++ select_compiler_config.hpp (working copy)
@@ -52,7 +52,7 @@
// Comeau C++
# define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
-#elif defined __PATHSCALE__
+#elif defined(__PATHSCALE__) && (__PATHSCALE__ >= 4)
// PathScale EKOPath compiler (has to come before clang and gcc)
# define BOOST_COMPILER_CONFIG "boost/config/compiler/pathscale.hpp"
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk