summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Gerey <yvesg@google.com>2018-11-09 19:35:11 +0100
committerYves Gerey <yvesg@google.com>2018-11-09 19:35:11 +0100
commita0a6951e259bd347c133969740348bb5ebb468c4 (patch)
treec7aca3cb125dc8417c6bda3dd9d07d1055e1f962
parente701d16949cf86a65f9f5d3ecba253e3bafd13c9 (diff)
downloadnasm-a0a6951e259bd347c133969740348bb5ebb468c4.tar.gz
Fix windows build warnings for MSVC (continued).
Bug: chromium:766721 Change-Id: I27ab96eeb9e25a87ac37553a33577d79680ec32a
-rw-r--r--BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index c85d2592..4fdc2938 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -70,6 +70,9 @@ config("nasm_config") {
# NASM sometimes compares enums to unsigned integers.
"/wd4018", # sign compare
+ # char VS const char mismatch.
+ "/wd4028", # formal parameter 1 different from declaration.
+
# NASM comment: Uninitialized -> all zero by C spec
# Or sometimes one const struct is forward declared for no reason.
"/wd4132", # const object should be initialized