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:
parent
7608baf92a
commit
83900528ad
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue