[FREETYPE][PORTCLS][RPCSS][SPOOLSV][STLPORT][USETUP][WLANSVC] Silence some clang-cl warnings.

This commit is contained in:
Amine Khaldi 2017-12-07 23:26:59 +01:00
parent 9f85ef6712
commit 5633423086
7 changed files with 33 additions and 0 deletions

View file

@ -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()

View file

@ -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)