I saw the following warning with GCC 11.1.0 on Ookami today:
Src/Base/AMReX_BaseFab.H: In instantiation of ‘std::pair<_FIter, _FIter> amrex::BaseFab<T>::minmax(const amrex::Box&, int) const [with amrex::RunOn run_on = amrex::RunOn::Gpu; T = double]’:
Src/Base/AMReX_VisMF.cpp:684:70: required from here
Src/Base/AMReX_BaseFab.H:2494:1: note: parameter passing for argument of type ‘std::pair<double, double>’ when C++17 is enabled changed to match C++14 in GCC 10.1
2494 | BaseFab<T>::minmax (const Box& subbox, int comp) const noexcept
I saw the following warning with GCC 11.1.0 on Ookami today: