mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:15:52 +00:00
[FREETYPE][PORTCLS][RPCSS][SPOOLSV][STLPORT][USETUP][WLANSVC] Silence some clang-cl warnings.
This commit is contained in:
parent
9f85ef6712
commit
5633423086
7 changed files with 33 additions and 0 deletions
4
sdk/lib/3rdparty/freetype/CMakeLists.txt
vendored
4
sdk/lib/3rdparty/freetype/CMakeLists.txt
vendored
|
@ -60,3 +60,7 @@ list(APPEND SOURCE
|
|||
src/winfonts/winfnt.c)
|
||||
|
||||
add_library(freetype ${SOURCE})
|
||||
|
||||
if(USE_CLANG_CL)
|
||||
add_target_compile_flags(freetype "-Wno-tautological-constant-compare")
|
||||
endif()
|
||||
|
|
6
sdk/lib/3rdparty/stlport/CMakeLists.txt
vendored
6
sdk/lib/3rdparty/stlport/CMakeLists.txt
vendored
|
@ -47,5 +47,11 @@ add_library(stlport
|
|||
src/cxa.c
|
||||
src/c_locale.c)
|
||||
|
||||
if(USE_CLANG_CL)
|
||||
add_target_compile_flags(stlport "-Wno-missing-braces -Wno-unused-local-typedef")
|
||||
add_target_compile_flags(stlport "-Wno-infinite-recursion -Wno-deprecated-register")
|
||||
add_target_compile_flags(stlport "-Wno-tautological-unsigned-zero-compare")
|
||||
endif()
|
||||
|
||||
add_dependencies(stlport xdk)
|
||||
add_pch(stlport src/stlport_prefix.h SOURCE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue