1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-07 18:30:24 +02:00

Silence misc. warnings

This commit is contained in:
kwolekr
2014-12-23 01:02:33 -05:00
parent 7b93408884
commit 565959db86
2 changed files with 6 additions and 1 deletions

View File

@ -643,6 +643,11 @@ else()
if(HAS_UNUSED_BUT_SET_VARIABLE_WARNING)
set(WARNING_FLAGS "${WARNING_FLAGS} -Wno-unused-but-set-variable")
endif(HAS_UNUSED_BUT_SET_VARIABLE_WARNING)
CHECK_CXX_COMPILER_FLAG("-Wno-type-limits" HAS_TYPE_LIMITS_WARNING)
if(HAS_TYPE_LIMITS_WARNING)
set(WARNING_FLAGS "${WARNING_FLAGS} -Wno-type-limits")
endif(HAS_TYPE_LIMITS_WARNING)
endif()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")