Qpid
  1. Qpid
  2. QPID-3186

Import Export generalization to support a larger set of compilers and run time environments

    Details

      Description

      The C++ macros for module export (<NAME>_EXTERN) are not sufficiently general or granular to support the gcc, Microsoft, and mingw32 compilers.

      This update creates three distinct macros for each module:

      1) A Class macro (<MODULE>_CLASS_EXTERN) for annotating class declarations.
      2) The usual method macro (<MODULE>_EXTERN) for annotating public class methods.
      3) An inline-method macro (<MODULE>_INLINE_EXTERN) for annotating public inline methods.

      The compiler-specific conditions are isolated in qpid/cpp/include/

      {qpid,qmf}

      /ImportExport.h.

        Issue Links

          Activity

          Justin Ross made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Ted Ross made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ted Ross made changes -
          Attachment exportlist.diff [ 12475414 ]
          Ted Ross made changes -
          Field Original Value New Value
          Link This issue is required by QPID-2905 [ QPID-2905 ]
          Ted Ross created issue -

            People

            • Assignee:
              Ted Ross
              Reporter:
              Ted Ross
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development