From d3c1c626f569e5aa58085425924cca45927b6199 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Sun, 4 Feb 2018 23:07:12 +0000 Subject: Deal with covered switches consistently (#4161) * Fixes a number of ": not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() --- tests/Network/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/Network/CMakeLists.txt') diff --git a/tests/Network/CMakeLists.txt b/tests/Network/CMakeLists.txt index 91091b5cf..84c49bfed 100644 --- a/tests/Network/CMakeLists.txt +++ b/tests/Network/CMakeLists.txt @@ -18,7 +18,9 @@ set (Network_SRCS ${CMAKE_SOURCE_DIR}/src/OSSupport/NetworkLookup.cpp ${CMAKE_SOURCE_DIR}/src/OSSupport/NetworkSingleton.cpp ${CMAKE_SOURCE_DIR}/src/OSSupport/ServerHandleImpl.cpp + ${CMAKE_SOURCE_DIR}/src/OSSupport/StackTrace.cpp ${CMAKE_SOURCE_DIR}/src/OSSupport/TCPLinkImpl.cpp + ${CMAKE_SOURCE_DIR}/src/OSSupport/WinStackWalker.cpp ${CMAKE_SOURCE_DIR}/src/mbedTLS++/CtrDrbgContext.cpp ${CMAKE_SOURCE_DIR}/src/mbedTLS++/CryptoKey.cpp ${CMAKE_SOURCE_DIR}/src/mbedTLS++/EntropyContext.cpp @@ -39,8 +41,10 @@ set (Network_HDRS ${CMAKE_SOURCE_DIR}/src/OSSupport/NetworkLookup.h ${CMAKE_SOURCE_DIR}/src/OSSupport/NetworkSingleton.h ${CMAKE_SOURCE_DIR}/src/OSSupport/ServerHandleImpl.h + ${CMAKE_SOURCE_DIR}/src/OSSupport/StackTrace.h ${CMAKE_SOURCE_DIR}/src/OSSupport/TCPLinkImpl.h ${CMAKE_SOURCE_DIR}/src/OSSupport/Queue.h + ${CMAKE_SOURCE_DIR}/src/OSSupport/WinStackWalker.h ${CMAKE_SOURCE_DIR}/src/mbedTLS++/CtrDrbgContext.h ${CMAKE_SOURCE_DIR}/src/mbedTLS++/CryptoKey.h ${CMAKE_SOURCE_DIR}/src/mbedTLS++/EntropyContext.h -- cgit v1.2.3