diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-22 11:59:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-22 11:59:15 (GMT) |
commit | 326c72a0d919b2c96c48a3df365dc8a7256dacd7 (patch) | |
tree | 949ee0d86e8af2181e0e120390ccd637e11467e2 /win/rules.vc | |
parent | 720797e76cbd290e097b9094da83c44cadfac5bf (diff) | |
download | tcl-326c72a0d919b2c96c48a3df365dc8a7256dacd7.zip tcl-326c72a0d919b2c96c48a3df365dc8a7256dacd7.tar.gz tcl-326c72a0d919b2c96c48a3df365dc8a7256dacd7.tar.bz2 |
Disable C4090 warning; See: [https://developercommunity.visualstudio.com/t/c-compiler-incorrect-propagation-of-const-qualifie/39071]
Diffstat (limited to 'win/rules.vc')
-rw-r--r-- | win/rules.vc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rules.vc b/win/rules.vc index 3107756..47c0742 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -1470,8 +1470,8 @@ cdebug = $(cdebug) -Zi !endif # $(DEBUG)
-# cwarn includes default warning levels, also C4146 is useless.
-cwarn = $(WARNINGS) -wd4146
+# cwarn includes default warning levels, also C4090 (buggy) and C4146 is useless.
+cwarn = $(WARNINGS) -wd4090 -wd4146
!if "$(MACHINE)" == "AMD64" || "$(MACHINE)" == "ARM64"
# Disable pointer<->int warnings related to cast between different sizes
|