Author: faridz Date: Sat Feb 9 06:57:25 2008 New Revision: 620131 URL: http://svn.apache.org/viewvc?rev=620131&view=rev Log: 2008-02-09 Farid Zaripov * include/exception: Swapped member declarations for ICC/Linux and MSVC | ICC/Windows to simplify the preprocessor condition. * src/exception.cpp: Ditto. Use MSVC code on ICC/Windows. Modified: stdcxx/branches/4.2.x/include/exception stdcxx/branches/4.2.x/src/exception.cpp Modified: stdcxx/branches/4.2.x/include/exception URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/exception?rev=620131&r1=620130&r2=620131&view=diff ============================================================================== --- stdcxx/branches/4.2.x/include/exception (original) +++ stdcxx/branches/4.2.x/include/exception Sat Feb 9 06:57:25 2008 @@ -68,18 +68,18 @@ // 18.6.1, p8 virtual const char* what () const _THROWS (()); -#if defined (__INTEL_COMPILER) && !defined (_MSC_VER) +#if defined (_MSC_VER) private: const char *_C_name; + int _C_flag; -#elif defined (_MSC_VER) +#elif defined (__INTEL_COMPILER) private: const char *_C_name; - int _C_flag; #endif // _MSC_VER }; Modified: stdcxx/branches/4.2.x/src/exception.cpp URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/src/exception.cpp?rev=620131&r1=620130&r2=620131&view=diff ============================================================================== --- stdcxx/branches/4.2.x/src/exception.cpp (original) +++ stdcxx/branches/4.2.x/src/exception.cpp Sat Feb 9 06:57:25 2008 @@ -286,14 +286,14 @@ exception::exception () _THROWS (()) { -#if defined (__INTEL_COMPILER) - - _C_name = ""; - -#elif defined (_MSC_VER) +#if defined (_MSC_VER) _C_name = 0; _C_flag = 0; + +#elif defined (__INTEL_COMPILER) + + _C_name = ""; #endif // _MSC_VER }