summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-22 11:49:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-22 11:49:18 (GMT)
commit0687fef515207f04fc3b520afaeb26a752c3e017 (patch)
treed7829a8baf9f936d0588ebb2821a35c444acb60a /win/rules.vc
parent1ffd0990d5d0c8ad35d9c5509ba9ee6ae1e1d973 (diff)
downloadtk-0687fef515207f04fc3b520afaeb26a752c3e017.zip
tk-0687fef515207f04fc3b520afaeb26a752c3e017.tar.gz
tk-0687fef515207f04fc3b520afaeb26a752c3e017.tar.bz2
Better solution for previous commit: See: [https://developercommunity.visualstudio.com/t/c-compiler-incorrect-propagation-of-const-qualifie/390711].
Conclusion: This is a bug in Visual Studio, better not get false warnings because of that.
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc4
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