mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-15 02:43:14 +08:00
- remove the ASM macro as in fact Gael had been removing all the remaining
asm("...") from the code while fixing MSVC compat (so your changes crossed one another). - move the pragma warning to CoreDeclarations, it's the right place to do early platform checks. CCMAIL:ps_ml@gmx.de
This commit is contained in:
parent
58061f5ffc
commit
0998c51d1f
@ -1,6 +1,10 @@
|
|||||||
#ifndef EIGEN_CORE_DECLARATIONS_H
|
#ifndef EIGEN_CORE_DECLARATIONS_H
|
||||||
#define EIGEN_CORE_DECLARATIONS_H
|
#define EIGEN_CORE_DECLARATIONS_H
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning( disable : 4181 4244 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define EIGEN_GNUC_AT_LEAST(x,y) ((__GNUC__>=x && __GNUC_MINOR__>=y) || __GNUC__>x)
|
#define EIGEN_GNUC_AT_LEAST(x,y) ((__GNUC__>=x && __GNUC_MINOR__>=y) || __GNUC__>x)
|
||||||
#else
|
#else
|
||||||
|
@ -28,14 +28,6 @@
|
|||||||
|
|
||||||
#undef minor
|
#undef minor
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#pragma warning( disable : 4181 4244 )
|
|
||||||
#define ASM(name) __asm(name)
|
|
||||||
#else
|
|
||||||
#define ASM(name) asm(name)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef EIGEN_DONT_USE_UNROLLED_LOOPS
|
#ifdef EIGEN_DONT_USE_UNROLLED_LOOPS
|
||||||
#define EIGEN_UNROLLING_LIMIT 0
|
#define EIGEN_UNROLLING_LIMIT 0
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user