Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15079

Eliminate clang compiler warnings in afw

    Details

    • Type: Improvement
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: afw

      Description

      afw presently builds with over a hundred warnings on Mac (using clang 9.1.0), most or all of this nature:

      In file included from src/table/Exposure.cc:19:
      include/lsst/afw/image/VisitInfo.h:187:25: warning: 'getPersistenceName' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
          virtual std::string getPersistenceName() const;
      

      Please fix the warnings.

        Attachments

          Issue Links

            Activity

            Hide
            krzys Krzysztof Findeisen added a comment - - edited

            Partial duplicate of DM-9933 and DM-13744. I won't be able to address the former this month, but I've scheduled it for August.

            Show
            krzys Krzysztof Findeisen added a comment - - edited Partial duplicate of DM-9933 and DM-13744 . I won't be able to address the former this month, but I've scheduled it for August.
            Hide
            krzys Krzysztof Findeisen added a comment -

            Russell Owen, what's the status of this ticket? What warnings are left?

            Show
            krzys Krzysztof Findeisen added a comment - Russell Owen , what's the status of this ticket? What warnings are left?
            Hide
            rowen Russell Owen added a comment -

            Good question. You fixed almost all of them. Here's what's left:

            /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: warning: destructor called on non-final
                  'lsst::afw::table::(anonymous namespace)::SourceFitsWriter' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
                __data_.second().~_Tp();
                ^
            /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3617:9: note: in instantiation of member function
                  'std::__1::__shared_ptr_emplace<lsst::afw::table::(anonymous namespace)::SourceFitsWriter, std::__1::allocator<lsst::afw::table::(anonymous namespace)::SourceFitsWriter>
                  >::__on_zero_shared' requested here
                    __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
                    ^
            /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of function template specialization
                  'std::__1::__shared_ptr_emplace<lsst::afw::table::(anonymous namespace)::SourceFitsWriter, std::__1::allocator<lsst::afw::table::(anonymous namespace)::SourceFitsWriter>
                  >::__shared_ptr_emplace<lsst::afw::fits::Fits *&, int &>' requested here
                ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                                     ^
            /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization
                  'std::__1::shared_ptr<lsst::afw::table::(anonymous namespace)::SourceFitsWriter>::make_shared<lsst::afw::fits::Fits *&, int &>' requested here
                return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                                        ^
            src/table/Source.cc:419:17: note: in instantiation of function template specialization 'std::__1::make_shared<lsst::afw::table::(anonymous namespace)::SourceFitsWriter, lsst::afw::fits::Fits
                  *&, int &>' requested here
                return std::make_shared<SourceFitsWriter>(fitsfile, flags);
                            ^
            /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
                __data_.second().~_Tp();
                                  ^
             
            ...
             
            python/lsst/afw/cameraGeom/camera/camera.cc:54:39: warning: 'operator!=' is deprecated: Use !obj1.is(obj2) instead [-Wdeprecated-declarations]
                            if (pupilFactoryClass != py::none()) {
                                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:180:5: note: 'operator!=' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use !obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
             
            ...
             
             
            python/lsst/afw/image/readers.cc:79:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:104:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:121:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:138:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:156:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:173:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:190:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:213:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:236:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:267:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:305:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:323:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:79:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            python/lsst/afw/image/readers.cc:208:5: note: in instantiation of function template specialization 'lsst::afw::image::(anonymous
                  namespace)::declareSinglePlaneMethods<lsst::afw::image::ImageFitsReader, std::__1::shared_ptr<lsst::afw::image::ImageFitsReader> >' requested here
                declareSinglePlaneMethods(cls);
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:79:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            python/lsst/afw/image/readers.cc:231:5: note: in instantiation of function template specialization 'lsst::afw::image::(anonymous
                  namespace)::declareSinglePlaneMethods<lsst::afw::image::MaskFitsReader, std::__1::shared_ptr<lsst::afw::image::MaskFitsReader> >' requested here
                declareSinglePlaneMethods(cls);
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:104:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            python/lsst/afw/image/readers.cc:258:5: note: in instantiation of function template specialization 'lsst::afw::image::(anonymous
                  namespace)::declareMultiPlaneMethods<lsst::afw::image::MaskedImageFitsReader, std::__1::shared_ptr<lsst::afw::image::MaskedImageFitsReader> >' requested here
                declareMultiPlaneMethods(cls);
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:121:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:138:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:156:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:173:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:190:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:104:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            python/lsst/afw/image/readers.cc:288:5: note: in instantiation of function template specialization 'lsst::afw::image::(anonymous
                  namespace)::declareMultiPlaneMethods<lsst::afw::image::ExposureFitsReader, std::__1::shared_ptr<lsst::afw::image::ExposureFitsReader> >' requested here
                declareMultiPlaneMethods(cls);
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:121:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:138:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:156:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:173:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            python/lsst/afw/image/readers.cc:190:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations]
                        if (dtype == py::none()) {
                                  ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here
                PYBIND11_DEPRECATED("Use obj1.is(obj2) instead")
                ^
            /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED'
            #  define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]]
                                                    ^
            ...
             
            tests/test_functorKeys.cc:79:17: warning: unused variable 'aY' [-Wunused-variable]
                Key<double> aY = schema.addField<double>("a_min_y", "");
                            ^
            tests/test_functorKeys.cc:76:17: warning: unused variable 'aX' [-Wunused-variable]
                Key<double> aX = schema.addField<double>("a_min_x", "");
                            ^
             
             
            ....
             
            /Users/rowen/UW/LSST/lsstsw/build/afw/include/lsst/afw/math/Background.h:554: warning: Found ';' while parsing initializer list! (doxygen could be confused by a macro call without semicolon)
            

            Also FYI I see these warnings in tests (but that's presumably a different ticket):

            tests/test_leastSquares.py::LeastSquaresTestCase::testFullRank
              /Users/rowen/UW/LSST/lsstsw/build/afw/tests/test_leastSquares.py:86: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
              To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
                solution, residues, rank, sv = np.linalg.lstsq(design, data)
              /Users/rowen/UW/LSST/lsstsw/build/afw/tests/test_leastSquares.py:108: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
              To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
                solution, residues, rank, sv = np.linalg.lstsq(design, data)
              /Users/rowen/UW/LSST/lsstsw/build/afw/tests/test_leastSquares.py:125: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
              To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
                solution, residues, rank, sv = np.linalg.lstsq(design, data)
             
            -- Docs: http://doc.pytest.org/en/latest/warnings.html
            

            Show
            rowen Russell Owen added a comment - Good question. You fixed almost all of them. Here's what's left: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:5: warning: destructor called on non-final 'lsst::afw::table::(anonymous namespace)::SourceFitsWriter' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] __data_.second().~_Tp(); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3617:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<lsst::afw::table::(anonymous namespace)::SourceFitsWriter, std::__1::allocator<lsst::afw::table::(anonymous namespace)::SourceFitsWriter> >::__on_zero_shared' requested here __shared_ptr_emplace(_Alloc __a, _Args&& ...__args) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4277:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<lsst::afw::table::(anonymous namespace)::SourceFitsWriter, std::__1::allocator<lsst::afw::table::(anonymous namespace)::SourceFitsWriter> >::__shared_ptr_emplace<lsst::afw::fits::Fits *&, int &>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<lsst::afw::table::(anonymous namespace)::SourceFitsWriter>::make_shared<lsst::afw::fits::Fits *&, int &>' requested here return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...); ^ src/table/Source.cc:419:17: note: in instantiation of function template specialization 'std::__1::make_shared<lsst::afw::table::(anonymous namespace)::SourceFitsWriter, lsst::afw::fits::Fits *&, int &>' requested here return std::make_shared<SourceFitsWriter>(fitsfile, flags); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning __data_.second().~_Tp(); ^   ...   python/lsst/afw/cameraGeom/camera/camera.cc:54:39: warning: 'operator!=' is deprecated: Use !obj1.is(obj2) instead [-Wdeprecated-declarations] if (pupilFactoryClass != py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:180:5: note: 'operator!=' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use !obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^   ...     python/lsst/afw/image/readers.cc:79:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:104:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:121:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:138:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:156:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:173:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:190:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:213:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:236:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:267:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:305:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:323:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:79:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ python/lsst/afw/image/readers.cc:208:5: note: in instantiation of function template specialization 'lsst::afw::image::(anonymous namespace)::declareSinglePlaneMethods<lsst::afw::image::ImageFitsReader, std::__1::shared_ptr<lsst::afw::image::ImageFitsReader> >' requested here declareSinglePlaneMethods(cls); ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:79:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ python/lsst/afw/image/readers.cc:231:5: note: in instantiation of function template specialization 'lsst::afw::image::(anonymous namespace)::declareSinglePlaneMethods<lsst::afw::image::MaskFitsReader, std::__1::shared_ptr<lsst::afw::image::MaskFitsReader> >' requested here declareSinglePlaneMethods(cls); ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:104:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ python/lsst/afw/image/readers.cc:258:5: note: in instantiation of function template specialization 'lsst::afw::image::(anonymous namespace)::declareMultiPlaneMethods<lsst::afw::image::MaskedImageFitsReader, std::__1::shared_ptr<lsst::afw::image::MaskedImageFitsReader> >' requested here declareMultiPlaneMethods(cls); ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:121:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:138:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:156:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:173:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:190:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:104:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ python/lsst/afw/image/readers.cc:288:5: note: in instantiation of function template specialization 'lsst::afw::image::(anonymous namespace)::declareMultiPlaneMethods<lsst::afw::image::ExposureFitsReader, std::__1::shared_ptr<lsst::afw::image::ExposureFitsReader> >' requested here declareMultiPlaneMethods(cls); ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:121:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:138:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:156:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:173:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ python/lsst/afw/image/readers.cc:190:23: warning: 'operator==' is deprecated: Use obj1.is(obj2) instead [-Wdeprecated-declarations] if (dtype == py::none()) { ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/../pytypes.h:178:5: note: 'operator==' has been explicitly marked deprecated here PYBIND11_DEPRECATED("Use obj1.is(obj2) instead") ^ /Users/rowen/UW/LSST/lsstsw/stack/DarwinX86/pybind11/2.2.3.lsst2/include/pybind11/detail/common.h:89:41: note: expanded from macro 'PYBIND11_DEPRECATED' # define PYBIND11_DEPRECATED(reason) [[deprecated(reason)]] ^ ...   tests/test_functorKeys.cc:79:17: warning: unused variable 'aY' [-Wunused-variable] Key<double> aY = schema.addField<double>("a_min_y", ""); ^ tests/test_functorKeys.cc:76:17: warning: unused variable 'aX' [-Wunused-variable] Key<double> aX = schema.addField<double>("a_min_x", ""); ^     ....   /Users/rowen/UW/LSST/lsstsw/build/afw/include/lsst/afw/math/Background.h:554: warning: Found ';' while parsing initializer list! (doxygen could be confused by a macro call without semicolon) Also FYI I see these warnings in tests (but that's presumably a different ticket): tests/test_leastSquares.py::LeastSquaresTestCase::testFullRank /Users/rowen/UW/LSST/lsstsw/build/afw/tests/test_leastSquares.py:86: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions. To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`. solution, residues, rank, sv = np.linalg.lstsq(design, data) /Users/rowen/UW/LSST/lsstsw/build/afw/tests/test_leastSquares.py:108: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions. To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`. solution, residues, rank, sv = np.linalg.lstsq(design, data) /Users/rowen/UW/LSST/lsstsw/build/afw/tests/test_leastSquares.py:125: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions. To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`. solution, residues, rank, sv = np.linalg.lstsq(design, data)   -- Docs: http://doc.pytest.org/en/latest/warnings.html
            Hide
            krzys Krzysztof Findeisen added a comment -

            Thanks for the update. I've already opened a separate ticket, DM-16872, for the Python warnings.

            Show
            krzys Krzysztof Findeisen added a comment - Thanks for the update. I've already opened a separate ticket, DM-16872 , for the Python warnings.
            Hide
            rowen Russell Owen added a comment -

            Thank you. I filedĀ DM-16924 for the pybind11 warnings. That reduces the remaining warnings down to a more manageable size.

            Show
            rowen Russell Owen added a comment - Thank you. I filedĀ  DM-16924 for the pybind11 warnings. That reduces the remaining warnings down to a more manageable size.

              People

              • Assignee:
                Unassigned
                Reporter:
                rowen Russell Owen
                Watchers:
                Krzysztof Findeisen, Russell Owen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel