The Oracle Developer Studio C++ compiler has two modes of operation. The older Sun mode has backward compatibility with binaries that are built with older compilers and is not compatible with g++. The Sun mode is enabled with -compat=5. Newer modes of operation are enabled for C++ 11 compliance using the –std option. For more information about these options, see the Oracle Developer Studio 12.6: C++ User’s Guide.