From b32a6384b3786e5e496810121429e2860fc41da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Wed, 13 Mar 2013 14:23:33 +0100 Subject: iOS: Don't warn about using C++11 extensions Qt uses a lot of minor C++11 extensions such as long long, commas at the end of enumerator lists, and extra ';' outside of a functions, and not all of these can be silenced, so we build without warnings for C++11 extensions, since we plan to enable C++11 at some point anyways. Change-Id: I3ede2fb653c25475a3bd2b860c0c80c6cf6abef5 Reviewed-by: Thiago Macieira --- mkspecs/common/ios/clang.conf | 3 --- 1 file changed, 3 deletions(-) (limited to 'mkspecs') diff --git a/mkspecs/common/ios/clang.conf b/mkspecs/common/ios/clang.conf index 28bf013542..ced937ba59 100644 --- a/mkspecs/common/ios/clang.conf +++ b/mkspecs/common/ios/clang.conf @@ -24,9 +24,6 @@ QMAKE_IOS_CFLAGS += -Wno-missing-field-initializers -Wno-missing-prototypes - QMAKE_IOS_CXXFLAGS += -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors QMAKE_IOS_OBJ_CFLAGS += -Wno-deprecated-implementations -Wprotocol -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -# We do not yet build with C++11 support, so warn about extensions unless they are used all over Qt -QMAKE_IOS_CXXFLAGS += -Wc++11-extensions -Wc++0x-extensions -Wno-c++11-long-long - # Warn about unsupported (later than 4.5) Xcode versions !lessThan(QMAKE_XCODE_VERSION, "4.7"): warning("The version of Xcode installed on this system is not recognised - custom compiler settings may be necessary") -- cgit v1.2.3