summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-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