Avoid use of designated initializers to generate irep struct.

Since it's not supported on VC without `/std:c++latest`. That means it
doesn't work for `cxx_api` build on Windows VC.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-06-07 17:20:37 +09:00
parent d93b1a48d2
commit 71eb4b2b22
3 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -125,4 +125,4 @@ jobs:
MRUBY_TARGET: appveyor
# TODO(take-cheeze): Re-enable /O2
CFLAGS: "/c /nologo /W3 /we4013 /Zi /MD /D_CRT_SECURE_NO_WARNINGS"
CXXFLAGS: "/c /nologo /W3 /Zi /MD /EHs /D_CRT_SECURE_NO_WARNINGS /std:c++latest"
CXXFLAGS: "/c /nologo /W3 /Zi /MD /EHs /D_CRT_SECURE_NO_WARNINGS"