File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 3838
3939 # Reset this number to 0 on major V8 upgrades.
4040 # Increment by one for each non-official patch applied to deps/v8.
41- 'v8_embedder_string' : '-node.22 ' ,
41+ 'v8_embedder_string' : '-node.23 ' ,
4242
4343 ##### V8 defaults for Node.js #####
4444
Original file line number Diff line number Diff line change @@ -488,9 +488,16 @@ V8_INLINE void PersistentBase<T>::SetWeak(
488488#if (__GNUC__ >= 8) && !defined(__clang__)
489489#pragma GCC diagnostic push
490490#pragma GCC diagnostic ignored "-Wcast-function-type"
491+ #endif
492+ #if __clang__
493+ #pragma clang diagnostic push
494+ #pragma clang diagnostic ignored "-Wcast-function-type"
491495#endif
492496 api_internal::MakeWeak (this ->slot (), parameter,
493497 reinterpret_cast <Callback>(callback), type);
498+ #if __clang__
499+ #pragma clang diagnostic pop
500+ #endif
494501#if (__GNUC__ >= 8) && !defined(__clang__)
495502#pragma GCC diagnostic pop
496503#endif
You can’t perform that action at this time.
0 commit comments