deprecate MSVC support for the time being

master
Daniel Kolesa 2015-05-02 22:12:28 +01:00
parent 897f1873f7
commit 64f403011a
2 changed files with 10 additions and 1 deletions

View File

@ -13,7 +13,6 @@ Compiler | Version
-------- | ------- -------- | -------
gcc/g++ | 4.8+ gcc/g++ | 4.8+
clang | 3.3+ clang | 3.3+
MSVC++ | 2015+
Other C++11 compliant compilers might work as well. OctaSTD does not utilize Other C++11 compliant compilers might work as well. OctaSTD does not utilize
compiler specific extensions except certain builtin type traits - to implement compiler specific extensions except certain builtin type traits - to implement
@ -21,3 +20,8 @@ traits that are not normally possible to implement without compiler support.
OctaSTD does not provide fallbacks for those traits. The compiler is expected OctaSTD does not provide fallbacks for those traits. The compiler is expected
to support these builtins. So far the 3 above-mentioned compilers support them. to support these builtins. So far the 3 above-mentioned compilers support them.
MSVC++ is currently unsupported. It is likely that it will never be supported,
as it seems that MS will start supporting Clang in Visual Studio; however,
if that does not happen and the MS C++ compiler gains the required features,
support will be added.

View File

@ -76,6 +76,8 @@ namespace octa {
#ifdef _MSC_VER #ifdef _MSC_VER
/* MSVC support is disabled for now */
#if 0
#define ATOMIC_BOOL_LOCK_FREE 2 #define ATOMIC_BOOL_LOCK_FREE 2
#define ATOMIC_CHAR_LOCK_FREE 2 #define ATOMIC_CHAR_LOCK_FREE 2
#define ATOMIC_CHAR16_T_LOCK_FREE 2 #define ATOMIC_CHAR16_T_LOCK_FREE 2
@ -448,6 +450,9 @@ namespace octa {
} }
#undef __OCTA_MSVC_ATOMIC_FETCH_OP #undef __OCTA_MSVC_ATOMIC_FETCH_OP
#else
#error No MSVC support right now!
#endif
#else #else