summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-04-20 11:49:19 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-19 13:09:31 (GMT)
commita09f5c425079405e72078813bdb7b103c29a5221 (patch)
tree8bcd3433f3318ceb1e723fbfacf011b03b093e37 /src/corelib
parent917f2ff617209bcc283eb3590b422bcf239c0537 (diff)
downloadQt-a09f5c425079405e72078813bdb7b103c29a5221.zip
Qt-a09f5c425079405e72078813bdb7b103c29a5221.tar.gz
Qt-a09f5c425079405e72078813bdb7b103c29a5221.tar.bz2
MSVC do not really support initilizer_list
std::initializer_list exists, but it is not possible to do bracket initialisation Reviewed-by: Joao
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qglobal.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index f47c9a7..32eedc7 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -425,15 +425,11 @@ namespace QT_NAMESPACE {}
#if defined(Q_CC_MSVC) && _MSC_VER >= 1600
# define Q_COMPILER_RVALUE_REFS
-# define Q_COMPILER_INITIALIZER_LISTS
# define Q_COMPILER_AUTO_TYPE
# define Q_COMPILER_LAMBDA
# define Q_COMPILER_DECLTYPE
-//# define Q_COMPILER_VARIADIC_TEMPLATES
-//# define Q_COMPILER_CLASS_ENUM
-//# define Q_COMPILER_DEFAULT_DELETE_MEMBERS
-//# define Q_COMPILER_UNICODE_STRINGS
-//# define Q_COMPILER_EXTERN_TEMPLATES
+// MSCV has std::initilizer_list, but do not support the braces initilization
+//# define Q_COMPILER_INITIALIZER_LISTS
# endif