1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
```
This commit is contained in:
Nobuyoshi Nakada 2019-11-20 16:23:59 +09:00
parent 7608baf92a
commit 83900528ad
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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