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

Add deprecation warnings to the C++ binding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • proton-c-0.18.0
    • cpp-binding

    Description

      Once PROTON-225 is implemented, we should eventually remove the old interfaces after marking them deprecated.

      Example:
      #ifdef _GNUC_
      #define DEPRECATED(func) func _attribute_ ((deprecated))
      #elif defined(_MSC_VER)
      #define DEPRECATED(func) __declspec(deprecated) func
      #else
      #pragma message("WARNING: You need to implement DEPRECATED for this compiler")
      #define DEPRECATED(func) func
      #endif

      Attachments

        Issue Links

          Activity

            People

              jross Justin Ross
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: