Add support for the C++11 features fixed in MSVC 2015 Update 1
This brings MSVC 2015 support to almost C++11 feature completion. Constexpr support still has one annoying bug, for which the fix is promised for Update 2. Change-Id: I92c2ee6638625c61e3a16690563434e32d853368 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
7ad560b2bc
commit
3dd6ac244f
@ -914,6 +914,13 @@
|
||||
//# define Q_COMPILER_UNIFORM_INIT
|
||||
# define Q_COMPILER_UNRESTRICTED_UNIONS
|
||||
# endif
|
||||
# if _MSC_FULL_VER >= 190023419
|
||||
# define Q_COMPILER_ATTRIBUTES
|
||||
// Almost working, see https://connect.microsoft.com/VisualStudio/feedback/details/2011648
|
||||
//# define Q_COMPILER_CONSTEXPR
|
||||
# define Q_COMPILER_THREADSAFE_STATICS
|
||||
# define Q_COMPILER_UNIFORM_INIT
|
||||
# endif
|
||||
# endif /* __cplusplus */
|
||||
#endif /* Q_CC_MSVC */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user