GEOS icon indicating copy to clipboard operation
GEOS copied to clipboard

Warning during compilation on Pangea3

Open sframba opened this issue 1 year ago • 2 comments

Describe the issue Compilation on Pangea3 generates (repeatedly) the following warning:

GEOS/src/coreComponents/common/TypeDispatch.hpp(371): warning: variable "typeListPrinter" was declared but never referenced
          detected during:
            instantiation of "__nv_bool geos::types::dispatch(LIST, LAMBDA &&, Ts &&...) [with LIST=geos::types::ListofTypeList<geos::types::ArrayTypes<geos::types::TypeList<geos::real64>, geos::types::DimsUpTo<2>>>, LAMBDA=lambda [](auto)->auto, Ts=<const geos::dataRepository::WrapperBase &>]" 
GEOS/src/coreComponents/functions/FunctionBase.hpp(192): here
            instantiation of "void geos::FunctionBase::evaluateT<LEAF,POLICY>(const geos::dataRepository::Group &, geos::real64, const geos::SortedArrayView<const geos::localIndex> &, const geos::arrayView1d<geos::real64> &) const [with LEAF=geos::TableFunction, POLICY=geos::parallelHostPolicy]" 
GEOS/src/coreComponents/functions/TableFunction.hpp(221): here

GEOS compiles correctly but it would be cleaner to find the origin of this warning and correct it.

Proposed cleanup Needs more investigation.

Additional context Appeared after modification of DataContext and the fmt library.

sframba avatar Sep 28 '23 09:09 sframba