Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2020-10-23 06:55:21 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2020-10-26 14:41:51 +0300
commit9ff25b19ac6c4b239aeeca5d9534523ff91eddf7 (patch)
treee9714548ddb24987aa449d5f6f7ae2073e807dd8 /src/node.h
parentba465c5ff60a970a79a14d910f6ef6d7ef5143f4 (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/node.h')
-rw-r--r--src/node.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/node.h b/src/node.h
index 6f93fc89e1f..0dc2de975b8 100644
--- a/src/node.h
+++ b/src/node.h
@@ -60,14 +60,7 @@
# define SIGKILL 9
#endif
-#if (__GNUC__ >= 8) && !defined(__clang__)
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wcast-function-type"
-#endif
#include "v8.h" // NOLINT(build/include_order)
-#if (__GNUC__ >= 8) && !defined(__clang__)
-#pragma GCC diagnostic pop
-#endif
#include "v8-platform.h" // NOLINT(build/include_order)
#include "node_version.h" // NODE_MODULE_VERSION