summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-20 16:23:59 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-20 16:28:18 +0900
commit83900528ad6a2cf37360abe2bcebb16787177838 (patch)
tree1b3deeb688cefaacbf870c82e4e86da193f96613 /win32/Makefile.sub
parent7608baf92ae2f3b29786e7fca021c8c8d24016f8 (diff)
Turn C4047 warning into error
Warned at making precompiled header on mswin. ``` building rb_mjit_header-2.7.0.pch vm.c d:\a\ruby\ruby\src\vm_args.c(1117): warning C4047: '=': 'const rb_callable_method_entry_t *' differs in levels of indirection from 'int' rb_mjit_header-2.7.0.pch updated ```
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 20f7315..e273260 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -243,7 +243,7 @@ COMPILERFLAG = -Zm600
!if $(MSC_VER) >= 1400
WARNFLAGS = -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574 \
-wd4668 -wd4710 -wd4711 -wd4820 -wd4996 \
- -we4028 -we4142
+ -we4028 -we4142 -we4047
!else
WARNFLAGS = -W2
!endif