diff options
author | Craig Robbins <kde.psych@gmail.com> | 2014-12-29 23:53:08 +1000 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2014-12-29 23:56:40 +1000 |
commit | 3993102e880f2a31b6fef9484b8527a58e850744 (patch) | |
tree | 780f07bbcddbf5ec0e2b820d675aff615cab0476 /src/CMakeLists.txt | |
parent | 5038b9aaeced00396e37f4d6665f8afe21169a8a (diff) | |
download | minetest-3993102e880f2a31b6fef9484b8527a58e850744.tar.gz minetest-3993102e880f2a31b6fef9484b8527a58e850744.tar.bz2 minetest-3993102e880f2a31b6fef9484b8527a58e850744.zip |
Fix -Wtype-limits warnings and remove disabling of -Wtype-limits
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 47fa5e216..2fc30b842 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -643,11 +643,6 @@ 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") |