mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
fix: turn warnings into errors (#1425)
* Update PlayerContainer.cpp fix: turn warnings into errors for the few warnings we get, at least make sure we listen to them now on unix platforms. Windows has too many right now to enable /WX resolve warning actually fix it Update CMakeLists.txt * detour pls * Update CMakeLists.txt * I HAVE 20 DOLLARS AND I NEED A WII GAME FOR MY KID * I HAVE 0 DOLLARS NOW * don't look don't look * Revert "don't look don't look" This reverts commit5603eb5980
. * Revert "Revert "don't look don't look"" This reverts commita334832a4d
. * could it be * we found one (but its already reported) not resolved yet though. * Revert "don't look don't look" This reverts commit5603eb5980
. * ignore warning for file * another one * Update .gitmodules * comments
This commit is contained in:
@@ -272,7 +272,9 @@ link_directories(${PROJECT_BINARY_DIR})
|
||||
|
||||
# Load all of our third party directories
|
||||
add_subdirectory(thirdparty)
|
||||
|
||||
if (UNIX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
||||
endif()
|
||||
# Glob together all headers that need to be precompiled
|
||||
file(
|
||||
GLOB HEADERS_DDATABASE
|
||||
|
Reference in New Issue
Block a user