DDS-PSM-Cxx 1.1 RTF Avatar
  1. OMG Issue

DDSPSMC11 — API correction required to src/hpp/dds/core/types.hpp

  • Key: DDSPSMC11-17
  • Legacy Issue Number: 18631
  • Status: open  
  • Source: Micro Focus ( Simon McQueen)
  • Summary:

    Windows export macros required.

    Suggested resolution:

    diff --git a/src/hpp/dds/core/types.hpp b/src/hpp/dds/core/types.hpp
    index c58e002..90c56f4 100644
    --- a/src/hpp/dds/core/types.hpp
    +++ b/src/hpp/dds/core/types.hpp
    @@ -33,8 +33,8 @@ namespace dds { namespace core {
       typedef std::vector<std::string> StringSeq;
    
    
       // DDS Null-Reference
    -  class null_type { };
    -  extern const null_type null;
    +  class OMG_DDS_API null_type { };
    +  extern const null_type OMG_DDS_API null;
    
    
    
     #ifdef OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT
    
  • Reported: DDS-PSM-Cxx 1.0 — Tue, 9 Apr 2013 04:00 GMT
  • Updated: Tue, 19 Jul 2016 22:45 GMT