Skip to content

macOS 12: TViewPubDataMembers uses deprecated std::iterator #10351

@Axel-Naumann

Description

@Axel-Naumann
In file included from src/core/meta/src/TClass.cxx:120:
src/core/meta/src/TViewPubDataMembers.h:97:45: warning: 'iterator<std::bidirectional_iterator_tag, TObject *, long, const TObject **, const TObject *&>' is deprecated [-Wdeprecated-declarations]
                                public std::iterator<std::bidirectional_iterator_tag, TObject *, std::ptrdiff_t,
                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__iterator/iterator.h:27:29: note: 'iterator<std::bidirectional_iterator_tag, TObject *, long, const TObject **, const TObject *&>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__config:1066:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
#  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
                                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__config:1043:48: note: expanded from macro '_LIBCPP_DEPRECATED'
#    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
                                               ^

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions