diff options
author | Colin Snover | 2017-09-10 20:28:19 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-10 22:17:14 -0500 |
commit | dbcde0c4147c6b6357e0da59036b4aa2291df011 (patch) | |
tree | 13277329f5477b18de7d2d45a56db4c49a8f90aa | |
parent | 3c5440add702f404ac9b0eac25c2655b7b23b884 (diff) | |
download | scummvm-rg350-dbcde0c4147c6b6357e0da59036b4aa2291df011.tar.gz scummvm-rg350-dbcde0c4147c6b6357e0da59036b4aa2291df011.tar.bz2 scummvm-rg350-dbcde0c4147c6b6357e0da59036b4aa2291df011.zip |
CREATE_PROJECT: Ignore undefined-var-template warnings by default
Starting in Xcode 8, clang reports warnings about singleton
instantiation which are noisy, so suppress these warnings for the
moment. An attempt to fix this properly was added in
eefa72afa1978a9dea10f5b1833fcc8f58a3468e but it was backed out in
940b2a20f1cd490afb6e541a3cd26f0d3bdd1687.
See https://github.com/scummvm/scummvm/pull/967 and
https://github.com/scummvm/scummvm/pull/994.
-rw-r--r-- | devtools/create_project/xcode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp index 78c3cf3dff..004a2ec031 100644 --- a/devtools/create_project/xcode.cpp +++ b/devtools/create_project/xcode.cpp @@ -868,7 +868,7 @@ void XcodeProvider::setupBuildConfiguration(const BuildSetup &setup) { ADD_SETTING(scummvm_Debug, "GCC_INPUT_FILETYPE", "automatic"); ADD_SETTING(scummvm_Debug, "GCC_OPTIMIZATION_LEVEL", "0"); ADD_SETTING(scummvm_Debug, "GCC_WARN_SIGN_COMPARE", "YES"); - ADD_SETTING(scummvm_Debug, "WARNING_CFLAGS", "-Wno-multichar"); + ADD_SETTING_QUOTE(scummvm_Debug, "WARNING_CFLAGS", "-Wno-multichar -Wno-undefined-var-template"); ValueList scummvm_defines(_defines); REMOVE_DEFINE(scummvm_defines, "MACOSX"); REMOVE_DEFINE(scummvm_defines, "IPHONE"); |