Skip to content

Commit ca71469

Browse files
committed
[MERGE #1686 @MikeHolman] require min of VS2015 Update 3 for constexpr
Merge pull request #1686 from MikeHolman:vsconstexpr
2 parents f802e4c + 258c0c3 commit ca71469

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Common/CommonDefines.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@
192192
// Other features
193193
// #define CHAKRA_CORE_DOWN_COMPAT 1
194194

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

0 commit comments

Comments
 (0)