Bug 282851

Summary: math/gfan: fix build with clang 19
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Some People CC: moritz
Priority: --- Flags: bugzilla: maintainer-feedback? (moritz)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 280562    
Attachments:
Description Flags
math/gfan: fix build with clang 19 none

Description Dimitry Andric freebsd_committer freebsd_triage 2024-11-18 17:11:36 UTC
Clang 19 has become more strict about errors in member functions, which
results in errors building math/gfan:

  src/gfanlib_matrix.h:123:18: error: no member named 'vectormultiply' in 'Matrix<typ>'
    123 |         ret[i]=a.vectormultiply(b.column(i));
        |                ~ ^

The `vectormultiply` method has been commented out by upstream for
unknown reasons, but the `operator*` method that references it is also
never used, so stub it out.
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2024-11-18 17:12:50 UTC
Created attachment 255283 [details]
math/gfan: fix build with clang 19