1vanK

Results 154 comments of 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...

![1](https://github.com/user-attachments/assets/61e52e34-0d54-46a8-a7d0-6902d6788abf) ![1](https://github.com/user-attachments/assets/3c9d8fbc-e883-467c-82e7-3aa7fccb003a)

![изображение](https://github.com/user-attachments/assets/9b297ef4-aba4-4eaf-a037-387356c6d417)

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