Boost logo

Boost :

Subject: Re: [boost] [Type_Traits] [remove_bounds]: Wrong workaround for IBM C++ compiler is applied in remove_bounds.hpp
From: John Maddock (john_at_[hidden])
Date: 2013-10-22 12:50:03


> the macro __IBMCPP__ at z/OS is "41130" for my system. The output of xlc++
> -qversion is
> z/OS V1.13 XL C/C++.
>
> For AIX the macro __IBMCPP__ evaluates to "1210" and "xlc++ -qversion"
> evaluates to:
>
> IBM XL C/C++ for AIX, V12.1 (5765-J02, 5725-C72)
> Version: 12.01.0000.0004.
>
> So we really have two different compilers for z/OS and AIX, with different
> versioning and behaviour.

Thanks for all the info! There are a lot of workarounds predicated on
__IMBCPP__ in type_traits, can you try search-and-replacing all of them to
__xlC__ and then run the tests in libs/type_traits/test with your compiler?

Many thanks, John.


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