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

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Mon Jan 15 09:21:21 CET 2007


Revision: 25088
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25088&view=rev
Author:   aquadran
Date:     2007-01-15 00:21:20 -0800 (Mon, 15 Jan 2007)

Log Message:
-----------
keep warnings off like this ones:
- warning C4610: struct 'Agi::AGIGameDescription' can never be instantiated - user defined constructor required
- warning C4510: 'Saga::SAGAGameDescription' : default constructor could not be generated

Can someone help me how to fix this ?

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

Modified: scummvm/trunk/common/stdafx.h
===================================================================
--- scummvm/trunk/common/stdafx.h	2007-01-14 23:48:11 UTC (rev 25087)
+++ scummvm/trunk/common/stdafx.h	2007-01-15 08:21:20 UTC (rev 25088)
@@ -52,6 +52,8 @@
 #pragma warning( disable : 4512 ) // turn off "assignment operator could not be generated" warning
 #pragma warning( disable : 4351 ) // turn off "new behavior ... will be default initialized" warning
 #pragma warning( disable : 4505 ) // turn off "unreferenced local function has been removed"
+#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"
 
 // FIXME: 4702 & 4706 - may be enabled
 #pragma warning( disable : 4702 ) // turn off "unreachable code" warning


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