Source code compatibility issues with OS/390 programs
In general, you can use source programs with the z/OS® V2R2 XL C/C++ compiler without modification, if they were created with an OS/390® compiler and library.
For details on support of Programming languages - C++ (ISO/IEC 14882:2003(E)), see ISO Standard C++ compliance migration issues.
Note: Some source code compatibility issues can be addressed
by modifying runtime options. See Runtime migration issues with OS/390 C/C++ applications.