diff options
author | Filippos Karapetis | 2011-11-17 19:45:53 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-11-17 19:46:32 +0200 |
commit | 2230eaab5ecdfef3a3ee63cb2ffe8d8846da019a (patch) | |
tree | 3c607f5ce6ce664d1043333c2e34a244e1a1b0d7 /devtools/create_project | |
parent | faf710c095861ebf84a7862a86c3c9abb84b131f (diff) | |
download | scummvm-rg350-2230eaab5ecdfef3a3ee63cb2ffe8d8846da019a.tar.gz scummvm-rg350-2230eaab5ecdfef3a3ee63cb2ffe8d8846da019a.tar.bz2 scummvm-rg350-2230eaab5ecdfef3a3ee63cb2ffe8d8846da019a.zip |
CREATE_PROJECT: Silence warnings 4345 globally and 4355 in Dreamweb
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/create_project.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index 084641608a..df06542e72 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"); |