
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@mail1.stofanet.dk> 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/<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>