[CMAKE] msvc.cmake: Add /wd4819 for Far East Asian (#8219)

"Far East Asian" Visual Studio had
generated a lot of "warning C4819:
File contains characters that
cannot be displayed in the current
code page...".

JIRA issue: N/A
This commit is contained in:
Katayama Hirofumi MZ 2025-07-02 22:10:54 +09:00 committed by GitHub
parent 06343fa9a5
commit 0db7879a66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,9 @@ if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
add_compile_options(/X /Zl)
endif()
# Erase warning C4819 for Far East Asian: The file contains characters that cannot be displayed in the current code page
add_compile_options(/wd4819)
# Disable buffer security checks by default.
add_compile_options(/GS-)