[Bug 281412] math/dune-common: fix build with clang 19

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Sep 2024 09:29:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281412

            Bug ID: 281412
           Summary: math/dune-common: fix build with clang 19
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: dim@FreeBSD.org
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Clang 19 is more strict about errors in member functions, which results
in:

 
/wrkdirs/usr/ports/math/dune-common/work/dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31/dune/common/parallel/remoteindices.hh:936:58:
error: reference to non-static member function must be called
    936 |     return localIndex_==ri.localIndex_ && attribute_==ri.attribute;
        |                                                       ~~~^~~~~~~~~

This is a typo, which has been fixed by upstream in
<https://gitlab.dune-project.org/core/dune-common/-/commit/d36ce92a18>.

-- 
You are receiving this mail because:
You are the assignee for the bug.