Details
-
Type:
Improvement
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:None
-
Team:Alert Production
Description
When I build afw on a Mac I see the following warnings from pybind11:
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)]]
|
^
|
....
|
I no longer get these warnings when building on macOS so I'm going to close this ticket.