Skip to content

Commit a12d939

Browse files
authored
chore: enable warning 4146 (#861)
1 parent 5da9b98 commit a12d939

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

binding.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
'/guard:cf',
1515
'/sdl',
1616
'/W3',
17+
'/w34146',
1718
'/w34244',
1819
'/w34267',
1920
'/ZH:SHA_256'

deps/winpty/src/winpty.gyp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
'ExceptionHandling': '1', # /EHsc
5151
'AdditionalOptions': [
5252
'/guard:cf',
53+
'/w34146',
5354
'/w34244',
5455
'/w34267',
5556
'/ZH:SHA_256'
@@ -152,6 +153,7 @@
152153
'ExceptionHandling': '1', # /EHsc
153154
'AdditionalOptions': [
154155
'/guard:cf',
156+
'/w34146',
155157
'/w34244',
156158
'/w34267',
157159
'/ZH:SHA_256'

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)