Problems Recognizing Operator =

(Doc ID 2371738.1)

Last updated on MARCH 09, 2018

Applies to:

Oracle Solaris Studio - Version 12.4 to 12.5 [Release 12]
Information in this document applies to any platform.

Symptoms

On : 12.4/5 version, c++

Problems recognizing operator=

ACTUAL BEHAVIOR
---------------------------
Oracle Solaris Studio 12.4 and also 12.5 fail to compile code where the operator= is used. It does not matter if default operator= definition is used or it is overloaded: the code compile keeps failing while Oracle Solaris Studio 12.3 and other compilers like gcc up to gcc-7 and clang or Oracle Solaris Studio 12.6 compile the same code successfully.

EXPECTED BEHAVIOR
---------------------------
The code is expected to compile successfully as with other compilers.

Changes

 

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