build error C2220 different #542 #1566
-
I build the src fc2daa8 and C2220 error is happened. The last successful build was 82de175(29 Dec 2021)
すべてビルド が失敗しました。 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Self resolved below method. 1, change "chrono.h" from utf8 to utf8 with BOM. 2, change LINE558 from "µs" to "us". please fix the source. |
Beta Was this translation helpful? Give feedback.
-
I just ran into a similar issue with latest base. After saving the chrono.h file in VS2019 (which auto saves as UTF-8 with BOM), I ran into another file that complained about encoding: mobutils.cpp. I opened that file and saved it, then build was successful after that. However even after the successful build, topaz_game was still crashing after init_mobs. Debug showed it crashing trying to set a path variable. I set my system locale from Japanese -> US and it fixed the issue. |
Beta Was this translation helpful? Give feedback.
-
I've just merged #4953 into |
Beta Was this translation helpful? Give feedback.
I just ran into a similar issue with latest base. After saving the chrono.h file in VS2019 (which auto saves as UTF-8 with BOM), I ran into another file that complained about encoding: mobutils.cpp. I opened that file and saved it, then build was successful after that.
However even after the successful build, topaz_game was still crashing after init_mobs. Debug showed it crashing trying to set a path variable.
I set my system locale from Japanese -> US and it fixed the issue.