MSVC do not really support initilizer_list
std::initializer_list exists, but it is not possible to do bracket initialisation Reviewed-by: Joao (cherry picked from commit a09f5c425079405e72078813bdb7b103c29a5221) Change-Id: I837f18f043b18410c1d93b9f1156acf729dad510 Reviewed-on: http://codereview.qt.nokia.com/143 Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
This commit is contained in:
parent
d3e5fc0220
commit
cc6faee69e
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user