Skip to content

Commit

Permalink
build: add -Werror=undefined-inline to clang builds
Browse files Browse the repository at this point in the history
PR-URL: nodejs#23961
Refs: nodejs#23954
Refs: nodejs#23910
Refs: nodejs#23880
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
  • Loading branch information
refack committed Oct 31, 2018
1 parent df7f629 commit c515e5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions node.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@
'-Wendif-labels',
'-W',
'-Wno-unused-parameter',
'-Werror=undefined-inline',
],
},
'conditions': [
['clang==1', {
'cflags': [ '-Werror=undefined-inline', ]
}],
[ 'node_shared=="false"', {
'msvs_settings': {
'VCManifestTool': {
Expand Down

0 comments on commit c515e5c

Please sign in to comment.