[Bug 272013] www/node16: fix build with clang 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Jun 2023 16:25:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272013 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 = 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. -- You are receiving this mail because: You are the assignee for the bug.