Commit 5818ba4b authored by Morten Johan Sørvig's avatar Morten Johan Sørvig Committed by Jani Heikkinen
Browse files

Compile on 10.7: Disable constexpr support


Apple Clang 3.2 is known bad with broken or partial
support. Which version is the first good version is
unknown.

Change-Id: I1b938281680dde5acbe0e08979444b6055a1cc4e
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
Showing with 1 addition and 1 deletion
...@@ -613,7 +613,7 @@ ...@@ -613,7 +613,7 @@
# if __has_feature(cxx_strong_enums) # if __has_feature(cxx_strong_enums)
# define Q_COMPILER_CLASS_ENUM # define Q_COMPILER_CLASS_ENUM
# endif # endif
# if __has_feature(cxx_constexpr) # if __has_feature(cxx_constexpr) && Q_CC_CLANG > 302 /* CLANG 3.2 has bad/partial support */
# define Q_COMPILER_CONSTEXPR # define Q_COMPILER_CONSTEXPR
# endif # endif
# if __has_feature(cxx_decltype) /* && __has_feature(cxx_decltype_incomplete_return_types) */ # if __has_feature(cxx_decltype) /* && __has_feature(cxx_decltype_incomplete_return_types) */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment