mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-14 19:38:08 +00:00
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
This commit is contained in:
7
thirdparty/SQLite/CMakeLists.txt
vendored
7
thirdparty/SQLite/CMakeLists.txt
vendored
@@ -10,5 +10,10 @@ if(UNIX)
|
||||
target_link_libraries(sqlite3 pthread dl m)
|
||||
|
||||
# -Wno-unused-result -Wno-unknown-pragmas -fpermissive
|
||||
target_compile_options(sqlite3 PRIVATE "-Wno-return-local-addr" "-Wno-maybe-uninitialized")
|
||||
target_compile_options(sqlite3 PRIVATE)
|
||||
if(NOT APPLE)
|
||||
target_compile_options(sqlite3 PRIVATE "-Wno-return-local-addr" "-Wno-maybe-uninitialized")
|
||||
else()
|
||||
target_compile_options(sqlite3 PRIVATE "-Wno-return-stack-address" "-Wno-uninitialized")
|
||||
endif()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user