Package: dune-istl / 2.6.0-2

Metadata

Package Version Patches format
dune-istl 2.6.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 CompPair make operator a const method.patch | (download)

dune/istl/matrixutils.hh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 1/3] comppair: make `operator()` a const method

This addresses the following error when using GCC 8:

```
/usr/include/c++/8/bits/stl_tree.h:457:21: error: static assertion failed: comparison object must be invocable as const
       static_assert(is_invocable_v<const _Compare&, const _Key&, const _Key&>,
```

0002 do not catch polymorphic types by value.patch | (download)

dune/istl/matrixredistribute.hh | 8 4 + 4 - 0 !
dune/istl/test/bcrsassigntest.cc | 42 18 + 24 - 0 !
dune/istl/test/bcrsbuild.cc | 19 7 + 12 - 0 !
dune/istl/test/matrixredisttest.cc | 2 1 + 1 - 0 !
4 files changed, 30 insertions(+), 41 deletions(-)

 [patch 2/3] do not catch polymorphic types by value
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This addresses several warnings from GCC 8 of the form

    ../dune/istl/test/matrixredisttest.cc:102:10: warning:
    catching polymorphic type ‘class Dune::ISTLError’ by value [-Wcatch-value=]

0003 silence warnings about unused variables.patch | (download)

dune/istl/repartition.hh | 7 4 + 3 - 0 !
dune/istl/test/bcrsbuild.cc | 3 2 + 1 - 0 !
2 files changed, 6 insertions(+), 4 deletions(-)

 [patch 3/3] silence warnings about unused variables
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This addresses several compiler warnings from GCC 8 of the form

    dune/istl/repartition.hh:968:22: warning:
    unused variable ‘wgtflag’ [-Wunused-variable]

and

    dune/istl/repartition.hh:976:13: warning:
    variable ‘options’ set but not used [-Wunused-but-set-variable]