[Scummvm-cvs-logs] scummvm master -> 2230eaab5ecdfef3a3ee63cb2ffe8d8846da019a

bluegr md5 at scummvm.org
Thu Nov 17 18:47:32 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2230eaab5e CREATE_PROJECT: Silence warnings 4345 globally and 4355 in Dreamweb


Commit: 2230eaab5ecdfef3a3ee63cb2ffe8d8846da019a
    https://github.com/scummvm/scummvm/commit/2230eaab5ecdfef3a3ee63cb2ffe8d8846da019a
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-11-17T09:46:32-08:00

Commit Message:
CREATE_PROJECT: Silence warnings 4345 globally and 4355 in Dreamweb

Changed paths:
    devtools/create_project/create_project.cpp



diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp
index 0846416..df06542 100644
--- a/devtools/create_project/create_project.cpp
+++ b/devtools/create_project/create_project.cpp
@@ -411,6 +411,12 @@ int main(int argc, char *argv[]) {
 		// 4310 (cast truncates constant value)
 		//   used in some engines
 		//
+		// 4345 (behavior change: an object of POD type constructed with an
+		// initializer of the form () will be default-initialized)
+		//   used in Common::Array(), and it basically means that newer VS
+		//   versions adhere to the standard in this case. Can be safely
+		//   disabled.
+		//
 		// 4351 (new behavior: elements of array 'array' will be default initialized)
 		//   a change in behavior in Visual Studio 2005. We want the new behavior, so it can be disabled
 		//
@@ -460,6 +466,7 @@ int main(int argc, char *argv[]) {
 		globalWarnings.push_back("4244");
 		globalWarnings.push_back("4250");
 		globalWarnings.push_back("4310");
+		globalWarnings.push_back("4345");
 		globalWarnings.push_back("4351");
 		globalWarnings.push_back("4512");
 		globalWarnings.push_back("4702");
@@ -476,6 +483,8 @@ int main(int argc, char *argv[]) {
 
 		projectWarnings["agos"].push_back("4511");
 
+		projectWarnings["dreamweb"].push_back("4355");
+		
 		projectWarnings["lure"].push_back("4189");
 		projectWarnings["lure"].push_back("4355");
 






More information about the Scummvm-git-logs mailing list