From 0a6db17125ab80338f6cc2ee71bf67f1e536dcdd Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 15 Sep 2013 19:23:35 +0200 Subject: Shared/Build: Restore disabled warnings on Visual Studio Restore 2 disabled warnings, 1 already disabled in CMake with the WITH_WARNINGS flag set to False and the other disabled by default as stated in VS documentation http://msdn.microsoft.com/en-us/library/aa984150.aspx --- src/server/shared/CompilerDefs.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/server/shared/CompilerDefs.h') diff --git a/src/server/shared/CompilerDefs.h b/src/server/shared/CompilerDefs.h index 10cdaf4e179..909dcd1707b 100644 --- a/src/server/shared/CompilerDefs.h +++ b/src/server/shared/CompilerDefs.h @@ -55,11 +55,6 @@ # error "FATAL ERROR: Unknown compiler." #endif -#if COMPILER == COMPILER_MICROSOFT -# pragma warning( disable : 4267 ) // conversion from 'size_t' to 'int', possible loss of data -# pragma warning( disable : 4786 ) // identifier was truncated to '255' characters in the debug information -#endif - #if defined(__cplusplus) && __cplusplus == 201103L # define COMPILER_HAS_CPP11_SUPPORT 1 #else -- cgit v1.2.3