- 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:
Benoit Jacob 2008-08-21 21:07:24 +00:00
parent 58061f5ffc
commit 0998c51d1f
2 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -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