
22 Oct
2013
22 Oct
'13
4:50 p.m.
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.