Skip to content

Commit

Permalink
build: add no user defined deduction guides of CTAD check
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Nov 29, 2024
1 parent d09458f commit 6209418
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@
'-Wno-unused-parameter',
'-Werror=undefined-inline',
'-Werror=extra-semi',
'-Werror=ctad-maybe-unsupported',
],
},

Expand Down
6 changes: 5 additions & 1 deletion node.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@

'conditions': [
[ 'clang==1', {
'cflags': [ '-Werror=undefined-inline', '-Werror=extra-semi']
'cflags': [
'-Werror=undefined-inline',
'-Werror=extra-semi',
'-Werror=ctad-maybe-unsupported',
],
}],
[ '"<(_type)"=="executable"', {
'msvs_settings': {
Expand Down

0 comments on commit 6209418

Please sign in to comment.