mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-30 17:40:05 +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
|
||||
#define EIGEN_CORE_DECLARATIONS_H
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( disable : 4181 4244 )
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define EIGEN_GNUC_AT_LEAST(x,y) ((__GNUC__>=x && __GNUC_MINOR__>=y) || __GNUC__>x)
|
||||
#else
|
||||
|
@ -28,14 +28,6 @@
|
||||
|
||||
#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
|
||||
#define EIGEN_UNROLLING_LIMIT 0
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user