diff options
author | Paul Gilbert | 2015-10-12 14:39:28 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-10-12 14:39:28 -0400 |
commit | fbcf667b6a57593a2b85622ad1e1380c8aef7210 (patch) | |
tree | 783232858be1d9c72484aca5a422527132690655 /devtools/create_project/create_project.cpp | |
parent | 89dfd36b60f5ea2cc96aa0a0381b148e75e4a0c9 (diff) | |
download | scummvm-rg350-fbcf667b6a57593a2b85622ad1e1380c8aef7210.tar.gz scummvm-rg350-fbcf667b6a57593a2b85622ad1e1380c8aef7210.tar.bz2 scummvm-rg350-fbcf667b6a57593a2b85622ad1e1380c8aef7210.zip |
CREATE_PROJECT: Cleanup and turn off exception handling again
Diffstat (limited to 'devtools/create_project/create_project.cpp')
-rw-r--r-- | devtools/create_project/create_project.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index 0611646eab..0aba511491 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -471,6 +471,8 @@ int main(int argc, char *argv[]) { // 4512 ('class' : assignment operator could not be generated) // some classes use const items and the default assignment operator cannot be generated // + // 4577 ('noexcept' used with no exception handling mode specified) + // // 4702 (unreachable code) // mostly thrown after error() calls (marked as NORETURN) // @@ -513,7 +515,6 @@ int main(int argc, char *argv[]) { globalWarnings.push_back("4127"); globalWarnings.push_back("4244"); globalWarnings.push_back("4250"); - globalWarnings.push_back("4267"); globalWarnings.push_back("4310"); globalWarnings.push_back("4345"); globalWarnings.push_back("4351"); @@ -527,6 +528,11 @@ int main(int argc, char *argv[]) { globalWarnings.push_back("6385"); globalWarnings.push_back("6386"); + if (msvcVersion == 14) { + globalWarnings.push_back("4267"); + globalWarnings.push_back("4577"); + } + projectWarnings["agi"].push_back("4510"); projectWarnings["agi"].push_back("4610"); |