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

auto_ptr is deprecated from C++11 and onwards and its use causes a warning with GCC 6

    XMLWordPrintableJSON

Details

    Description

      As we compile qpid with warnings turned to errors this causes the build to fail by default when compiling with GCC6.

      The simplest "fix" is just to turn of deprecation warnings.

      A better fix would be to stop using auto_ptr. An good alternative in the context of qpid would be boost::scoped_ptr.

      If we change the base C++ version for qpid we could use std::unique_ptr instead.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: