Compilation Error In C++ Header Cloneable_spec.hpp For Coherence 3.7.1.7 (Doc ID 1535216.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Coherence - Version 3.7.1 to 3.7.1.7 [Release AS10g]
Information in this document applies to any platform.

Symptoms

In g++ 4.7.2 the include of lang.ns in Coherence cpp files fails to compile with the following error when trying to compile a Coherence C++ .cpp file including some Coherence .hpp files like cloneable_spec.hpp, TypedCollections.hpp or NativeAtomic.hpp:

 The problem does not happen with previous versions of g++, because the syntax check is stricter in this g++ version.

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