Bug 282851 - math/gfan: fix build with clang 19
Summary: math/gfan: fix build with clang 19
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 280562
  Show dependency treegraph
 
Reported: 2024-11-18 17:11 UTC by Dimitry Andric
Modified: 2024-11-18 17:13 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (moritz)


Attachments
math/gfan: fix build with clang 19 (1.53 KB, patch)
2024-11-18 17:12 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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