Migrating from V13.1.1 Linux for little endian distributions to V13.1.2 Linux for little endian distributions

When you migrate programs from V13.1.1 to V13.1.2 little endian Linux, it is recommended that you use the -qnoxlcompatmacros option to undefine legacy macros C++ only begins__IBMCPP__, __xlC__, __xlC_ver__C++ only ends, C only begins__IBMC__, and __xlc__C only ends.

IBM® XL C/C++ for Linux V13.1.2 predefines these legacy macros with the -qxlcompatmacros option. This option helps you migrate programs from Linux for big endian distributions to Linux for little endian distributions. However, when you migrate programs from V13.1.1 Linux for little endian distributions to V13.1.2 Linux for little endian distributions, these legacy macros, if defined, might change your source code and result in compilation failure. Therefore, it is recommended that you use the -qnoxlcompatmacros option to undefine these legacy macros.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us