Boost logo

Boost :

Subject: Re: [boost] [Type_Traits] [remove_bounds]: Wrong workaround for IBM C++ compiler is applied in remove_bounds.hpp
From: Kilian Kilger (kkilger_at_[hidden])
Date: 2013-10-22 10:37:44


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.

Best regards,
Kilian.

On 22 October 2013 16:13, Bjorn Reese <breese_at_[hidden]> wrote:

> On 10/22/2013 04:01 PM, Peter Dimov wrote:
>
> It's more likely that the z/OS compiler is a later version. What is the
>> value of __IBMCPP__ for the two compilers?
>>
>
> While I agree with this, please notice that although __IBMCPP__ is
> defined on both AIX and z/OS, their syntax are different. You can
> find a workaround in the "IBM z/OS C/C++" section:
>
> http://sourceforge.net/p/**predef/wiki/Compilers/>
>
>
>
> ______________________________**_________________
> Unsubscribe & other changes:
http://lists.boost.org/**
> mailman/listinfo.cgi/boost<http://lists.boost.org/mailman/listinfo.cgi/boost>
>


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