Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Oct 2024 14:26:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281868] graphics/embree: fix build with clang 19
Message-ID:  <bug-281868-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281868

            Bug ID: 281868
           Summary: graphics/embree: 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: danfe@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
          Assignee: danfe@FreeBSD.org

Clang 19 has become more strict about errors in member functions, which
results in errors building graphics/embree:

=20
/wrkdirs/usr/ports/graphics/embree/work/embree-3.13.5/kernels/geometry/../c=
ommon/../subdiv/bezier_curve.h:138:56:
error: no member named 'u' in 'QuadraticBezierCurve<V>'
    138 |         return cout << "QuadraticBezierCurve ( (" << a.u.lower <<=
 ",
" << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
        |                                                      ~ ^
=20
/wrkdirs/usr/ports/graphics/embree/work/embree-3.13.5/kernels/geometry/../c=
ommon/../subdiv/bezier_curve.h:138:77:
error: no member named 'u' in 'QuadraticBezierCurve<V>'
    138 |         return cout << "QuadraticBezierCurve ( (" << a.u.lower <<=
 ",
" << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
        |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
    ~ ^

Upstream fixed this for https://github.com/RenderKit/embree/issues/486
in https://github.com/RenderKit/embree/commit/cda4cf191, so add a
PATCHFILES entry for it.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281868-7788>