Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3186

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10
    • 0.11
    • C++ Broker, C++ Client, QMF
    • None

    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.

      Attachments

        1. exportlist.diff
          86 kB
          Ted Ross

        Issue Links

          Activity

            People

              tross Ted Ross
              tross Ted Ross
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: