mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 09:58:46 +00:00
Fixed: Use -Wno-...
--HG-- branch : develop
This commit is contained in:
parent
e4109490cd
commit
c94ce037bb
1 changed files with 4 additions and 2 deletions
|
@ -887,9 +887,11 @@ MACRO(NL_SETUP_BUILD)
|
|||
ENDIF()
|
||||
|
||||
# never display these warnings because they are minor
|
||||
ADD_PLATFORM_FLAGS("-Wno-unused-parameter -Wno-unused-variable -Wunused-function -Wunused-value")
|
||||
ADD_PLATFORM_FLAGS("-Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-value")
|
||||
|
||||
IF(CLANG)
|
||||
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "6.0.0")
|
||||
ADD_PLATFORM_FLAGS("-Wno-unused-local-typedefs")
|
||||
ELSEIF(CLANG)
|
||||
ADD_PLATFORM_FLAGS("-Wno-unused-private-field -Wno-unused-local-typedef")
|
||||
ENDIF()
|
||||
|
||||
|
|
Loading…
Reference in a new issue