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

          Ted Ross created issue -
          Ted Ross made changes -
          Field Original Value New Value
          Link This issue is required by QPID-2905 [ QPID-2905 ]
          Hide
          Ted Ross added a comment -
          Show
          Ted Ross added a comment - Review board URL: https://reviews.apache.org/r/523/
          Hide
          Ted Ross added a comment -

          This is the patch I intend to commit. I'm holding off until 0.10 gets nearer to release so as not to disrupt the merging of any last-minutes fixes into 0.10.

          Show
          Ted Ross added a comment - This is the patch I intend to commit. I'm holding off until 0.10 gets nearer to release so as not to disrupt the merging of any last-minutes fixes into 0.10.
          Ted Ross made changes -
          Attachment exportlist.diff [ 12475414 ]
          Ted Ross made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Justin Ross made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development