Skip to content

Commit 39d0d25

Browse files
committed
ow-build: MSVC build, change C4028 "formal parameter ?? different from declaration" to stop build
1 parent 6e8c842 commit 39d0d25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/mif/local.mif

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ common_flags = $(common_flags_dbg)
126126

127127
#
128128
# C4013 "'function' undefined; assuming extern returning int"
129+
# C4028 "formal parameter ?? different from declaration"
129130
# C4061 "enumerator 'identifier' in switch of enum 'enumeration' is not explicitly handled by a case label"
130131
# C4062 "enumerator 'identifier' in switch of enum 'enumeration' is not handled"
131132
# C4063 "case 'identifier' is not a valid value for switch of enum 'enumeration'"
@@ -149,6 +150,7 @@ common_cflags_wng = -W4 -wd4214
149150
!else
150151
common_cflags_wng = -Wall &
151152
-we4013 &
153+
-we4028 &
152154
-wd4061 &
153155
-wd4062 &
154156
-wd4063 &

0 commit comments

Comments
 (0)