mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
Don't warn that msvc 2015 isn't c++11 compliant just because it doesn't claim to be.
This commit is contained in:
parent
05bbca079a
commit
9a54c3e32b
@ -29,8 +29,10 @@
|
|||||||
|
|
||||||
/* Check that the compiler at least claims to support C++11. It might not be sufficient
|
/* Check that the compiler at least claims to support C++11. It might not be sufficient
|
||||||
* because the compiler may not implement it correctly, but at least we'll know.
|
* because the compiler may not implement it correctly, but at least we'll know.
|
||||||
|
* On the other hand, visual studio still doesn't claim to support C++11 although it's
|
||||||
|
* compliant enugh for our purpose.
|
||||||
*/
|
*/
|
||||||
#if __cplusplus <= 199711L
|
#if (__cplusplus <= 199711L) && (EIGEN_COMP_MSVC < 1900)
|
||||||
#if defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
|
#if defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
|
||||||
#pragma GCC diagnostic error "-Wfatal-errors"
|
#pragma GCC diagnostic error "-Wfatal-errors"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user