Skip to content

Commit

Permalink
require non-VS or min of VS2015 Update 3 for constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeHolman committed Oct 4, 2016
1 parent 431ecd1 commit 258c0c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Common/CommonDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@
// Other features
// #define CHAKRA_CORE_DOWN_COMPAT 1

#if defined(_MSC_VER) && (_MSC_VER >= 1900 )
// VS2015 RTM has bugs with constexpr, so require min of VS2015 Update 3 (known good version)
#if !defined(_MSC_VER) || _MSC_FULL_VER >= 190024210
#define HAS_CONSTEXPR 1
#endif

Expand Down

0 comments on commit 258c0c3

Please sign in to comment.