Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2023 16:25:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272013] www/node16: fix build with clang 16
Message-ID:  <bug-272013-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 272013
           Summary: www/node16: fix build with clang 16
           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: dim@FreeBSD.org
             Flags: maintainer-feedback?(otis@FreeBSD.org)
          Assignee: otis@FreeBSD.org

Clang 16 has a new error about integer values being outside the valid
range for enum types, which shows up when building www/node16:

  ../deps/v8/src/base/bit-field.h:43:29: error: integer value 7 is outside =
the
valid range of values [0, 3] for this enumeration type
[-Wenum-constexpr-conversion]
    static constexpr T kMax =3D static_cast<T>(kNumValues - 1);
                              ^

Upstream fixed most of these errors in
<https://chromium.googlesource.com/v8/v8.git/+/d15d49b09d>, so add a
backported version of it, with a few additions, to fix them.

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