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.27 ' ,
41+ 'v8_embedder_string' : '-node.28 ' ,
4242
4343 ##### V8 defaults for Node.js #####
4444
Original file line number Diff line number Diff line change @@ -507,9 +507,16 @@ V8_INLINE void PersistentBase<T>::SetWeak(
507507#if (__GNUC__ >= 8) && !defined(__clang__)
508508#pragma GCC diagnostic push
509509#pragma GCC diagnostic ignored "-Wcast-function-type"
510+ #endif
511+ #if __clang__
512+ #pragma clang diagnostic push
513+ #pragma clang diagnostic ignored "-Wcast-function-type"
510514#endif
511515 api_internal::MakeWeak (this ->slot (), parameter,
512516 reinterpret_cast <Callback>(callback), type);
517+ #if __clang__
518+ #pragma clang diagnostic pop
519+ #endif
513520#if (__GNUC__ >= 8) && !defined(__clang__)
514521#pragma GCC diagnostic pop
515522#endif
You can’t perform that action at this time.
0 commit comments