Boost logo

Boost :

Subject: Re: [boost] [Type_Traits] [remove_bounds]: Wrong workaround for IBM C++ compiler is applied in remove_bounds.hpp
From: Peter Dimov (lists_at_[hidden])
Date: 2013-10-22 10:01:16


Kilian Kilger wrote:
> Hi,
>
> in remove_bounds.hpp, a wrong workaround for the IBM C++ compiler is
> applied. This workaround is only valid for IBM C++ on AIX, but wrong for
> IBM C++ on z/OS. The z/OS compiler has no bug and thus no workaround must
> be applied (else we get wrong results).
>
> So instead of testing against __IBMCPP__ one should also test against
> __MVS__. This last macro is only defined for IBM C++ on z/OS.

It's more likely that the z/OS compiler is a later version. What is the
value of __IBMCPP__ for the two compilers?


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