1. Introducing The Oracle Solaris Studio 12.2 Release
New/Changed Features Common To The Compilers
8. Known Problems, Limitations, and Workarounds in This Release
The following lists the new and changed features in this release of version 5.11 of the C++ compiler. For details, see the Oracle Solaris Studio 12.2: C++ User’s Guide and the CC man page.
The -g option with any -O or -xO option but without the + option, produces inlining. Examples:
CC -g foo.cc produces a debuggable a.out with no inlining
CC -g -O foo.cc produces a debuggable a.out with inlining
CC -g0 foo.cc produces a debuggable a.out with inlining
The C++ option -xalias_level=compatible asserts that the program meets the requirements of the C++ standard.
Support has been added for the Apache C++ library installed in Oracle Solaris.
The -features=[no%]rvalueref option restores the compiler's handling of non-const references to a temporary or rvalue.