Skip to content

Commit 6209418

Browse files
committed
build: add no user defined deduction guides of CTAD check
1 parent d09458f commit 6209418

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

‎node.gyp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@
482482
'-Wno-unused-parameter',
483483
'-Werror=undefined-inline',
484484
'-Werror=extra-semi',
485+
'-Werror=ctad-maybe-unsupported',
485486
],
486487
},
487488

‎node.gypi‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727

2828
'conditions': [
2929
[ 'clang==1',{
30-
'cflags': [ '-Werror=undefined-inline', '-Werror=extra-semi']
30+
'cflags': [
31+
'-Werror=undefined-inline',
32+
'-Werror=extra-semi',
33+
'-Werror=ctad-maybe-unsupported',
34+
],
3135
}],
3236
[ '"<(_type)"=="executable"',{
3337
'msvs_settings':{

0 commit comments

Comments
(0)