Changed: Some warnings are specific to clang

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent fe72e1c8d3
commit 6bbe0ad774

@ -887,7 +887,11 @@ MACRO(NL_SETUP_BUILD)
ENDIF() ENDIF()
# never display these warnings because they are minor # never display these warnings because they are minor
ADD_PLATFORM_FLAGS("-Wno-unused-parameter -Wno-unused-private-field -Wno-unused-local-typedef -Wno-unused-variable") ADD_PLATFORM_FLAGS("-Wno-unused-parameter -Wno-unused-variable -Wunused-function -Wunused-value")
IF(CLANG)
ADD_PLATFORM_FLAGS("-Wno-unused-private-field -Wno-unused-local-typedef")
ENDIF()
IF(ANDROID) IF(ANDROID)
ADD_PLATFORM_FLAGS("--sysroot=${PLATFORM_ROOT}") ADD_PLATFORM_FLAGS("--sysroot=${PLATFORM_ROOT}")

Loading…
Cancel
Save