My Oracle Support Banner

libCstd: The function "out_of_range" must have a prototype (Doc ID 2360862.1)

Last updated on FEBRUARY 16, 2021

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.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.