libCstd: The function "out_of_range" must have a prototype
Last updated on FEBRUARY 13, 2018
Applies to:Oracle Solaris Studio - Version 12.4 to 12.4 [Release 12]
Information in this document applies to any platform.
On : 12.4 version, c++
When compiling one of the two following source files
The above code compiles cleanly with versions 12.3, 12.5 and 12.6.
This is a problem of 12.4 exclusively with Cstd.
Compiling with 12.4 using either -library=stlport4 or -library=stdcxx4 flags goes through with no problem.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms