[Bug 281358] graphics/vigra: fix build with clang 19

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Sep 2024 08:57:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281358

            Bug ID: 281358
           Summary: graphics/vigra: 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: ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org

Clang 19 is more strict about manipulating `this` in C++, which results
in an error compiling graphics/vigra:

   
/wrkdirs/usr/ports/graphics/vigra/work/vigra-8acd73a/include/vigra/multi_iterator_coupled.hxx:493:9:
error: expression is not assignable
      493 |         --this;
          |         ^ ~~~~

Here, the intent is to call the prefix operator-- on the object, which
should be spelled either "--*this" or "operator--()".

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