#if ( defined(__BORLANDC__) || _MSC_VER ) && !defined( __GNUG__ )
#if ( defined(__BORLANDC__) || _MSC_VER ) && !defined( __GNUG__ )
inline float abs (float v) { return (float)fabs( v); }
inline double abs (double v) { return fabs( v); }
inline long double abs (long double v) { return fabsl( v); }
#endif
Error 1 error C2084: function 'float abs(float)' already has a body e:\2008 pointposition\tclmatrix.h 158
Error 2 error C2084: function 'double abs(double)' already has a body e:\2008 pointposition\tclmatrix.h 159
Error 3 error C2084: function 'long double abs(long double)' already has a body e:\2008 pointposition\tclmatrix.h 160
//****************************************************************************
matrixT& operator += (const matrixT& m) _THROW_MATRIX_ERROR;
Warning 6 warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow) e:\2008 pointposition\tclmatrix.h 241
在vc6.0里面是不报错的,2008里面就出现上面一堆东西,不知道怎么回事?