Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
squash!: conditionaly add -Wno-cast-function-type
  • Loading branch information
danbev committed Jan 28, 2019
commit b81432dd402facec7ab8ce2a37897c70466767c4
6 changes: 5 additions & 1 deletion test/addons/async-hello-world/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/async-hooks-id/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/async-hooks-promise/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/async-resource/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/at-exit/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/buffer-free-callback/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/callback-scope/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/dlopen-ping-pong/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/errno-exception/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/heap-profiler/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'win_delay_load_hook': 'false',
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/hello-world-esm/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/hello-world-function-export/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/hello-world/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/load-long-path/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/make-callback-domain-warning/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/make-callback-recurse/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/make-callback/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/new-target/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/node-module-version/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/non-node-context/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
{
'target_name': 'binding',
'sources': ['binding.cc'],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
},
]
}
6 changes: 5 additions & 1 deletion test/addons/not-a-binding/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
{
'target_name': 'binding',
'sources': [ 'not_a_binding.c' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/null-buffer-neuter/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 4 additions & 2 deletions test/addons/openssl-binding/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
['node_use_openssl=="true"', {
'sources': ['binding.cc'],
'include_dirs': ['../../../deps/openssl/openssl/include'],
}]
}],
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
'cflags': ['-Wno-cast-function-type'],
},
]
}
5 changes: 4 additions & 1 deletion test/addons/openssl-client-cert-engine/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
'../../../../out/<(PRODUCT_DIR)/<(openssl_product)'
]
},
}]
}],
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
]
}
]
Expand Down
6 changes: 5 additions & 1 deletion test/addons/parse-encoding/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/repl-domain-abort/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/stringbytes-external-exceed-max/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/symlinked-module/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
{
'target_name': 'binding',
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/uv-handle-leak/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
6 changes: 5 additions & 1 deletion test/addons/worker-addon/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
'target_name': 'binding',
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
'sources': [ 'binding.cc' ],
'cflags': ['-Wno-cast-function-type'],
'conditions': [
[ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', {
'cflags': ['-Wno-cast-function-type'],
}],
],
}
]
}
Loading