[Scummvm-cvs-logs] SF.net SVN: scummvm:[44283] scummvm/trunk/common/scummsys.h

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Sep 24 04:06:08 CEST 2009


Revision: 44283
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44283&view=rev
Author:   thebluegr
Date:     2009-09-24 02:06:07 +0000 (Thu, 24 Sep 2009)

Log Message:
-----------
Removed the MSVC-specific pragmas for disabling warnings. These are now in ScummVM_Global.vsprops and thus not needed in scummsys.h

Modified Paths:
--------------
    scummvm/trunk/common/scummsys.h

Modified: scummvm/trunk/common/scummsys.h
===================================================================
--- scummvm/trunk/common/scummsys.h	2009-09-24 00:51:42 UTC (rev 44282)
+++ scummvm/trunk/common/scummsys.h	2009-09-24 02:06:07 UTC (rev 44283)
@@ -43,18 +43,6 @@
 	#if defined(WIN32)
 
 		#ifdef _MSC_VER
-		#pragma once
-		#pragma warning( disable : 4068 ) // turn off "unknown pragma" warning
-		#pragma	warning( disable : 4103 ) // turn off "alignement changed after including header" warning. We use pack-start.h file
-		#pragma warning( disable : 4244 ) // turn off "conversion type" warning
-		#pragma warning( disable : 4250 ) // turn off "inherits via dominance" warning
-		#pragma warning( disable : 4351 ) // turn off "new behavior ... will be default initialized" warning
-		#pragma warning( disable : 4355 ) // turn off "base member init" warning
-		#pragma warning( disable : 4510 ) // turn off "default constructor could not be generated"
-		#pragma warning( disable : 4610 ) // turn off "struct can never be instantiated - user defined constructor required"
-		#pragma warning( disable : 4701 ) // turn off "potentially uninitialized variables" warning
-		#pragma warning( disable : 4800 ) // turn off "forcing value to bool 'true' or 'false' (performance warning)"
-
 		// vsnprintf is already defined in Visual Studio 2008
 		#if (_MSC_VER < 1500)
 			#define vsnprintf _vsnprintf


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list