mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-05 18:20:24 -08:00
Fixed PCH compilation and gcc warnings fixed
+ removed some useless warning suppressions
This commit is contained in:
parent
343c88f0a4
commit
973259925b
10 changed files with 13 additions and 6 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
#include <sys/types.h>
|
||||
#include <ace/Basic_Types.h>
|
||||
#include <ace/ACE_export.h>
|
||||
#include <ace/Default_Constants.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,6 @@ if(WITH_COREDEBUG)
|
|||
endif()
|
||||
|
||||
# -Wno-narrowing needed to suppress a warning in g3d
|
||||
# -Wno-deprecated-register -Wstring-plus-int -Wpointer-bool-conversion are needed to suppress gsoap warnings on Unix systems.
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing -Wno-deprecated-register -Wstring-plus-int -Wparentheses -Wreorder -Wlogical-op-parentheses")
|
||||
# -Wno-deprecated-register is needed to suppress gsoap warnings on Unix systems.
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing -Wno-deprecated-register")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG=1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue