mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Core: step 1 - starting to fix core warnings
expecially from headers and some cpp files Scripts and tools in next steps
This commit is contained in:
@@ -8,10 +8,12 @@
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
if( CMAKE_COMPILER_IS_GNUCXX )
|
||||
add_definitions(--no-warnings)
|
||||
elseif( MSVC )
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
string(REGEX REPLACE "/W[0-4] " "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||
string(REGEX REPLACE "/W[0-4] " "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
||||
add_definitions(/W0)
|
||||
else()
|
||||
add_definitions(-w)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
|
||||
@@ -26,11 +26,12 @@ class DelayExecutor : protected ACE_Task_Base
|
||||
|
||||
private:
|
||||
|
||||
ACE_Message_Queue<ACE_SYNCH> mqueue_;
|
||||
ACE_Activation_Queue queue_;
|
||||
ACE_Method_Request* pre_svc_hook_;
|
||||
ACE_Method_Request* post_svc_hook_;
|
||||
bool activated_;
|
||||
ACE_Message_Queue<ACE_SYNCH> mqueue_;
|
||||
ACE_Activation_Queue queue_;
|
||||
|
||||
|
||||
void activated(bool s);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user