mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-25 14:58:20 -05:00
Expat 2.10.0 has UTF-8 quotes in a comment in random_rand_s.c. cl.exe reads source files in the system code page, so on code page 936 it reads the line break as part of a double-byte character. The next line becomes part of the comment and the build fails with C1020. Pass /utf-8 to Expat's C compiler when building with MSVC, keeping the existing C flags.