mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 09:20:43 +08:00
[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:
committed by
GitHub
parent
06343fa9a5
commit
0db7879a66
@@ -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-)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user