-
Key: DDSPSMC11_-22
-
Status: open
-
Source: ZettaScale Technology ( Mr. Erik Hendriks)
-
Summary:
Some SUN compilers have predefined a macro called SHARED. This clashes with the definition of the enumeration label SHARED for the OwnershipKind_def struct.
We suggest to add some conditional code to undef the SUN macro in that case.
git diff:
--- a/include/dds/core/policy/PolicyKind.hpp +++ b/include/dds/core/policy/PolicyKind.hpp @@ -29,6 +29,10 @@ namespace core namespace policy { +/** @todo raise spec issue **/ +#if defined (__SUNPRO_CC) && defined(SHARED) +# undef SHARED +#endif struct OwnershipKind_def { enum Type
-
Reported: DDS-PSM-Cxx 1.0b2 — Mon, 13 Apr 2015 15:32 GMT
-
Updated: Sun, 30 Sep 2018 23:28 GMT
DDSPSMC11_ — Ownership label SHARED is already defined as a macro in some SUN compilers
- Key: DDSPSMC11_-22
- OMG Task Force: DDS-PSM-Cxx v1.1 RTF