Skip to content

Commit 114e925

Browse files
committed
add extra flags for xcode
1 parent c792b89 commit 114e925

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

node.gyp

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
'-W',
9797
'-Wno-unused-parameter',
9898
'-Werror=undefined-inline',
99+
'-Werror=extra-semi',
99100
],
100101
},
101102

node.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
'conditions': [
2929
[ 'clang==1', {
30-
'cflags': [ '-Werror=undefined-inline -Wextra-semi', ]
30+
'cflags': [ '-Werror=undefined-inline', '-Werror=extra-semi']
3131
}],
3232
[ '"<(_type)"=="executable"', {
3333
'msvs_settings': {

0 commit comments

Comments
 (0)