1vanK
1vanK
> share your cmake build commands https://github.com/dviglo2d/format_benchmarks/blob/main/third_party/benchmark/CMakeLists.txt#L4-L5
It seems like the warning has been gone.
1) Install cmake 2) Clone repo to `fallout2-re` folder 3) Command ``` cmake fallout2-re -B build_vs -G "Visual Studio 17" -A Win32 ``` generates VisualStudio projects in `build_vs` folder
Starting from C++23 source code files should be encoded in Utf-8: * https://en.cppreference.com/w/cpp/compiler_support * https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2295r6.pdf so `wxString foo("äüöß");` should recieve Utf-8 string
Need some compiler option to set `wxSTRING_DEFAULT_CONV_ARG` to `wxConvUTF8` instead `wxConvLibc`: ``` #ifndef wxNO_IMPLICIT_WXSTRING_ENCODING #define wxSTRING_DEFAULT_CONV_ARG = wxConvLibc #else #define wxSTRING_DEFAULT_CONV_ARG #endif ``` or just ``` #ifndef wxSTRING_DEFAULT_CONV_ARG #ifndef wxNO_IMPLICIT_WXSTRING_ENCODING...
 

Maybe there is a way to set the locale somewhere earlier? (This is my first time trying the library and I don't know much).
I also use `wxUSE_UNICODE_UTF8` option to chage internal encoding