File tree 1 file changed +19
-1
lines changed
1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 11
11
"<!@(node -p \" require('node-addon-api').include\" )"
12
12
],
13
13
"dependencies" : ["<!(node -p \" require('node-addon-api').gyp\" )" , "snap7" ],
14
- "cflags!" : [ "-fno-exceptions" ],
14
+ "cflags" : [
15
+ "-Wno-stringop-truncation" ,
16
+ "-Wno-unused-but-set-variable" ,
17
+ "-Wno-misleading-indentation" ,
18
+ "-Wno-maybe-uninitialized" ,
19
+ "-Wno-array-bounds" ,
20
+ "-Wno-sign-compare" ,
21
+ "-Wno-stringop-overread"
22
+ ],
23
+ "cflags!" : [ "-fno-exceptions" ],
15
24
"cflags_cc!" : [ "-fno-exceptions" ],
16
25
"defines" : [ "NAPI_DISABLE_CPP_EXCEPTIONS" ],
17
26
"conditions" : [
43
52
"./deps/snap7/src/core" ,
44
53
"./deps/snap7/src/lib"
45
54
],
55
+ "cflags" : [
56
+ "-Wno-stringop-truncation" ,
57
+ "-Wno-unused-but-set-variable" ,
58
+ "-Wno-misleading-indentation" ,
59
+ "-Wno-maybe-uninitialized" ,
60
+ "-Wno-array-bounds" ,
61
+ "-Wno-sign-compare" ,
62
+ "-Wno-stringop-overread"
63
+ ],
46
64
"cflags!" : [ "-fno-exceptions" ],
47
65
"cflags_cc!" : ["-fno-exceptions" ],
48
66
"conditions" : [
You can’t perform that action at this time.
0 commit comments