GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: V8: cherry-pick 35888fee7bba · nodejs/node@f4a7ac5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • common.gypi
  • deps/v8/src/base
    • macros.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎common.gypi‎

Copy file name to clipboardExpand all lines: common.gypi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Reset this number to 0 on major V8 upgrades.
3838
# Increment by one for each non-official patch applied to deps/v8.
39-
'v8_embedder_string': '-node.17',
39+
'v8_embedder_string': '-node.18',
4040

4141
##### V8 defaults for Node.js #####
4242

Collapse file

‎deps/v8/src/base/macros.h‎

Copy file name to clipboardExpand all lines: deps/v8/src/base/macros.h
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,19 @@ namespace base {
173173
// base::is_trivially_copyable will differ for these cases.
174174
template <typename T>
175175
struct is_trivially_copyable {
176-
#if V8_CC_MSVC
176+
#if V8_CC_MSVC || (__GNUC__ == 12 && __GNUC_MINOR__ <= 2)
177177
// Unfortunately, MSVC 2015 is broken in that std::is_trivially_copyable can
178178
// be false even though it should be true according to the standard.
179179
// (status at 2018-02-26, observed on the msvc waterfall bot).
180180
// Interestingly, the lower-level primitives used below are working as
181181
// intended, so we reimplement this according to the standard.
182182
// See also https://developercommunity.visualstudio.com/content/problem/
183183
// 170883/msvc-type-traits-stdis-trivial-is-bugged.html.
184+
//
185+
// GCC 12.1 and 12.2 are broken too, they are shipped by some stable Linux
186+
// distributions, so the same polyfill is also used.
187+
// See
188+
// https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=aeba3e009b0abfccaf01797556445dbf891cc8dc
184189
static constexpr bool value =
185190
// Copy constructor is trivial or deleted.
186191
(std::is_trivially_copy_constructible<T>::value ||

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.