Closed nicolasaunai closed 10 months ago
this code here: https://github.com/LLNL/SAMRAI/blob/11612bcb456baf7a245376462438882505f14b9e/source/SAMRAI/hier/Box.h#L1472
leads to
error: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Werror=deprecated-declarations] with gcc 13.2.1 (fedora 38)
error: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Werror=deprecated-declarations]
See for instance this blog post
I also see that on gcc 12.3.1 actually, -Werror=deprecated-declarations
Hopefully this is helpful: https://stackoverflow.com/questions/43268146/why-is-stditerator-deprecated
This is done and can be closed
this code here: https://github.com/LLNL/SAMRAI/blob/11612bcb456baf7a245376462438882505f14b9e/source/SAMRAI/hier/Box.h#L1472
leads to
error: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Werror=deprecated-declarations]
with gcc 13.2.1 (fedora 38)See for instance this blog post