During an exp-run for llvm 13 (see bug 258209), it turned out that www/node fails to build with clang 13: In file included from ../deps/v8/src/heap/cppgc/allocation.cc:5: ../deps/v8/include/cppgc/allocation.h:168:39: error: no member named 'forward' in namespace 'std' T* object = ::new (memory) T(std::forward<Args>(args)...); ~~~~~^ ../deps/v8/include/cppgc/allocation.h:168:47: error: 'Args' does not refer to a value T* object = ::new (memory) T(std::forward<Args>(args)...); ^ ../deps/v8/include/cppgc/allocation.h:164:25: note: declared here template <typename... Args> ^ ../deps/v8/include/cppgc/allocation.h:178:39: error: no member named 'forward' in namespace 'std' T* object = ::new (memory) T(std::forward<Args>(args)...); ~~~~~^ ../deps/v8/include/cppgc/allocation.h:178:47: error: 'Args' does not refer to a value T* object = ::new (memory) T(std::forward<Args>(args)...); ^ ../deps/v8/include/cppgc/allocation.h:173:25: note: declared here template <typename... Args> ^ ../deps/v8/include/cppgc/allocation.h:206:55: error: no member named 'forward' in namespace 'std' MakeGarbageCollectedTrait<T>::Call(handle, std::forward<Args>(args)...); ~~~~~^ ../deps/v8/include/cppgc/allocation.h:206:63: error: 'Args' does not refer to a value MakeGarbageCollectedTrait<T>::Call(handle, std::forward<Args>(args)...); ^ ../deps/v8/include/cppgc/allocation.h:203:35: note: declared here template <typename T, typename... Args> ^ ../deps/v8/include/cppgc/allocation.h:225:55: error: no member named 'forward' in namespace 'std' std::forward<Args>(args)...); ~~~~~^ ../deps/v8/include/cppgc/allocation.h:225:63: error: 'Args' does not refer to a value std::forward<Args>(args)...); ^ ../deps/v8/include/cppgc/allocation.h:221:35: note: declared here template <typename T, typename... Args> ^ 8 errors generated. This was fixed upstream in v8 with: https://chromium.googlesource.com/v8/v8.git/+/69426180fac5d37643a28887b5e148f844e14ce6 ("cppgc: Fix missing <utility> include").
Created attachment 228354 [details] cppgc: Fix missing <utility> include
No longer needed after 25cf6ee9a998c92ffc86f8fa8e6bbd96d9d32e76 (www/node: Update 16.10.0 -> 16.11.0) and 998579a8346355e76bd0ddede359c5eacbc0ea24 (www/node: Update 16.11.0 -> 16.11.1).