Mark Variable Length Arrays as a TS feature for C++14
The feature was removed from the C++14 draft standard and moved instead to a Technical Specification. Since we don't know how to enable TS features in GCC 4.9 yet, remove it from the definition. The Clang definition is probably safe, since it is behind an #if __has_extension. Change-Id: Ibc32b35657b046680078b39a7678bd8e1e5395d2 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
0ed1042092
commit
fbeb43135f
@ -483,6 +483,8 @@
|
|||||||
* N3652 Q_COMPILER_RELAXED_CONSTEXPR_FUNCTIONS
|
* N3652 Q_COMPILER_RELAXED_CONSTEXPR_FUNCTIONS
|
||||||
* N3386 N3638 Q_COMPILER_RETURN_TYPE_DEDUCTION
|
* N3386 N3638 Q_COMPILER_RETURN_TYPE_DEDUCTION
|
||||||
* N3651 Q_COMPILER_VARIABLE_TEMPLATES
|
* N3651 Q_COMPILER_VARIABLE_TEMPLATES
|
||||||
|
*
|
||||||
|
* C++14 Technical Specifications / C++17:
|
||||||
* N3639 Q_COMPILER_VLA (see also Q_COMPILER_RESTRICTED_VLA)
|
* N3639 Q_COMPILER_VLA (see also Q_COMPILER_RESTRICTED_VLA)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ -774,7 +776,6 @@
|
|||||||
//# define Q_COMPILER_BINARY_LITERALS // already supported since GCC 4.3 as an extension
|
//# define Q_COMPILER_BINARY_LITERALS // already supported since GCC 4.3 as an extension
|
||||||
# define Q_COMPILER_LAMBDA_CAPTURES
|
# define Q_COMPILER_LAMBDA_CAPTURES
|
||||||
# define Q_COMPILER_RETURN_TYPE_DEDUCTION
|
# define Q_COMPILER_RETURN_TYPE_DEDUCTION
|
||||||
# define Q_COMPILER_VLA
|
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user