Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2023 17:33:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274796] www/node16 multimedia/phonon (may be others) and clang 16 breakage
Message-ID:  <bug-274796-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 274796
           Summary: www/node16 multimedia/phonon (may be others) and clang
                    16 breakage
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: otis@FreeBSD.org
          Reporter: dave@jetcafe.org
             Flags: maintainer-feedback?(otis@FreeBSD.org)
          Assignee: otis@FreeBSD.org

To fix the clang  16 breakage, some have written this:

.if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} >=3D 1400091
CXXFLAGS+=3D      -Wno-error=3Denum-constexpr-conversion
.endif

Since 13-STABLE recently (or at some point) got clang 16, this conditional
prevents compilation of these ports on recent 13-STABLE.=20

Some others have written this:

.if ${COMPILER_TYPE} =3D=3D clang && ${COMPILER_VERSION} >=3D 160 && ${ARCH=
} =3D=3D
aarch64
CXXFLAGS+=3D      -Wno-error=3Denum-constexpr-conversion
.endif

I think the second one is the more correct solution, since it does not depe=
nd
on OS version. Hence this bug report.

--=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-274796-7788>