summaryrefslogtreecommitdiffstats
path: root/src/Protocol/CMakeLists.txt
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2015-07-09 19:15:37 +0200
committerSamuel Barney <samjbarney@gmail.com>2015-07-09 19:15:37 +0200
commitaa94a275c603e7e8bd65cf1b7440017217a86c17 (patch)
tree325f7de76044dd8e120919c327d853e605d5828d /src/Protocol/CMakeLists.txt
parentNetwork: Fixed ServerHandle's address formatting. (diff)
downloadcuberite-aa94a275c603e7e8bd65cf1b7440017217a86c17.tar
cuberite-aa94a275c603e7e8bd65cf1b7440017217a86c17.tar.gz
cuberite-aa94a275c603e7e8bd65cf1b7440017217a86c17.tar.bz2
cuberite-aa94a275c603e7e8bd65cf1b7440017217a86c17.tar.lz
cuberite-aa94a275c603e7e8bd65cf1b7440017217a86c17.tar.xz
cuberite-aa94a275c603e7e8bd65cf1b7440017217a86c17.tar.zst
cuberite-aa94a275c603e7e8bd65cf1b7440017217a86c17.zip
Diffstat (limited to 'src/Protocol/CMakeLists.txt')
-rw-r--r--src/Protocol/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/CMakeLists.txt b/src/Protocol/CMakeLists.txt
index 5adf6bd5e..42a7d5a9d 100644
--- a/src/Protocol/CMakeLists.txt
+++ b/src/Protocol/CMakeLists.txt
@@ -29,7 +29,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set_source_files_properties(ChunkDataSerializer.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast")
set_source_files_properties(MojangAPI.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast")
set_source_files_properties(Packetizer.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast")
- set_source_files_properties(Protocol18x.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=switch-enum -Wno-error=switch")
+ set_source_files_properties(Protocol18x.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast -Wno-error=sign-conversion -Wno-error=conversion -Wno-error=switch-enum -Wno-error=switch")
set_source_files_properties(Protocol17x.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum -Wno-error=old-style-cast")
set_source_files_properties(ProtocolRecognizer.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=old-style-cast")
endif()