Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1121

Include MONGOCXX_CALL and BSONCXX_CALL macros with function definitions

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Portability
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Perl/CXX 2017-03-24, Perl/CXX 2017-04-14

      Description

      From our internal discussions, we believe that putting the calling convention declarations on both the declaration and definition of non-class functions will reduce the risk of errors if end users override compiler flags with a different default calling convention.

      As part of the work for this ticket, we should audit the declarations for all of the non-method functions in our API should specify BSONCXX_CALL or MONGOCXX_CALL.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: