C++ Compiler:"The Function "out_of_range" Must Have A Prototype." (Doc ID 2078253.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Solaris Studio - Version 12.4 and later
Information in this document applies to any platform.

Symptoms

Oracle Solaris Studio 12.4/C++ 5.13 in default compat=5 mode:

 

Changes

The problem does not occur with C++ 5.12 or earlier.
The problem occurs only with the default libCstd.
The problem does not occur with any alternate STL, such as, say, -library=stlport4

Cause

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