diff -r 9af5c039b678 -r 96d65f841791 include/vector.h --- a/include/vector.h Mon May 05 15:31:14 2008 +0200 +++ b/include/vector.h Tue May 06 09:39:58 2008 +0200 @@ -132,9 +132,10 @@ // difference friend Vector operator-(const Vector &a, const Vector &b) { -#ifdef NO_SIMD +#if defined(NO_SIMD) || defined(MSVC) return Vector(a.x - b.x, a.y - b.y, a.z - b.z); #else + // this faults in MSVC, for unknown reason return Vector(msub(a.mf4, b.mf4)); #endif };