Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1128

[C++ binding] Symbol exports use wrong directive for proton::condition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • proton-0.12.0
    • proton-0.13.0
    • cpp-binding
    • None

    Description

      The C++ binding API header file incorrectly uses PN_CPP_EXPORT rather than PN_CPP_EXTERN.

      In theory on Windows (the only system where these directives are currently active) this could mean that user programs using the proton::condition API would be unable to do so as the program would be exporting the API rather than importing it.

      However in limited tests using VS 2015 it doesn't seem to actually be causing a problem.

      It may be that it is problematic in other (earlier) VS compilers.

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: