diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2020-10-23 06:55:21 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2020-10-26 14:41:51 +0300 |
commit | 9ff25b19ac6c4b239aeeca5d9534523ff91eddf7 (patch) | |
tree | e9714548ddb24987aa449d5f6f7ae2073e807dd8 /src/base_object-inl.h | |
parent | ba465c5ff60a970a79a14d910f6ef6d7ef5143f4 (diff) |
src: remove ignore GCC -Wcast-function-type for v8
This reverts Commit 3ff2aeceba88928f1aa33fe3ff1cc9bf84da739b ("src:
ignore GCC -Wcast-function-type for v8.h") and Commit
2462a2c5d7b5ae7e28a0fdefdf4fd5e8eb0ff5ed ("src: fix ignore GCC
-Wcast-function-type for older compilers") as this has
now been included in the V8 version being used.
PR-URL: https://github.com/nodejs/node/pull/35768
Refs: https://github.com/v8/v8/commit/f08cbfdc4051266e4200b6e26775d35307b1259b
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Diffstat (limited to 'src/base_object-inl.h')
-rw-r--r-- | src/base_object-inl.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/base_object-inl.h b/src/base_object-inl.h index 0b620ab864f..b9f99a03ddf 100644 --- a/src/base_object-inl.h +++ b/src/base_object-inl.h @@ -28,14 +28,7 @@ #include "env-inl.h" #include "util.h" -#if (__GNUC__ >= 8) && !defined(__clang__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wcast-function-type" -#endif #include "v8.h" -#if (__GNUC__ >= 8) && !defined(__clang__) -#pragma GCC diagnostic pop -#endif namespace node { |