[svn-r5031]

Purpose:
    Minor bug fix
Description:
    Added #ifdef for windows about a #pragma
Platforms tested:
    IRIX64 (modi4)
This commit is contained in:
Binh-Minh Ribler 2002-03-02 16:01:17 -05:00
parent 0bb7111f43
commit 22c5ce3c5f

View File

@ -66,9 +66,11 @@ class __DLLCPP__ Exception {
private:
// Because 'string' is not instantiated at compilation time, this
// warning is displayed; but the class is exported so the warning
// is harmless
// warning is displayed when building DLL; but the class is exported
// so the warning is harmless
#if defined(WIN32)
#pragma warning(disable: 4251)
#endif
string detailMessage;
string funcName;
};