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 11:00:30

Kilian Kilger wrote:
> Hi,
> 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.

Indeed, thank you. As Bjorn pointed out, we probably need to use __xlC__
macro instead of __IBMCPP__ to identify XL C++ for AIX, per

Boost list run by bdawes at, gregod at, cpdaniel at, john at