[Scummvm-cvs-logs] CVS: scummvm/sky compact.cpp,1.15,1.16

Pawel Kolodziejski aquadran at users.sourceforge.net
Thu Jul 31 11:36:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv12119/sky

Modified Files:
	compact.cpp 
Log Message:
back disable warnings into stdafx.h, vc6 is lack of warnings support

Index: compact.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/compact.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- compact.cpp	7 Jul 2003 00:14:16 -0000	1.15
+++ compact.cpp	31 Jul 2003 18:35:01 -0000	1.16
@@ -20,15 +20,7 @@
  */
 
 #include "stdafx.h"
-#ifdef _MSC_VER
-// disable warning "truncation of constant value". Some signed
-// fields of the structs are saved as unsigned in the .h files
-#pragma warning(disable : 4305)
-#pragma warning(disable : 4309) 
-#endif
-
 #include "sky/compact.h"
-
 #include "sky/compacts/0compact.h"
 #include "sky/compacts/1compact.h"
 #include "sky/compacts/29comp.h"
@@ -43,11 +35,6 @@
 #include "sky/compacts/linc_gen.h"
 #include "sky/compacts/lincmenu.h"
 #include "sky/compacts/z_compac.h"
-
-#ifdef _MSC_VER
-#pragma warning(default : 4305)
-#pragma warning(default : 4309) 
-#endif
 
 #define COMPACT_SIZE (sizeof(compactOffsets)/sizeof(uint32))
 #define EXTCOMPACT_SIZE (sizeof(extCompactOffsets)/sizeof(uint32))





More information about the Scummvm-git-logs mailing list