From: <sv...@ww...> - 2005-08-27 20:02:29
|
Author: mkrose Date: 2005-08-27 13:02:16 -0700 (Sat, 27 Aug 2005) New Revision: 1606 Modified: trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/Export.h trunk/CSP/SimData/Include/SimData/HashUtility.h Log: Extend warning pragma to MSVC Express 8, and disable 'deprecated' function warning. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1606 Modified: trunk/CSP/SimData/CHANGES.current =================================================================== --- trunk/CSP/SimData/CHANGES.current 2005-08-27 09:26:12 UTC (rev 1605) +++ trunk/CSP/SimData/CHANGES.current 2005-08-27 20:02:16 UTC (rev 1606) @@ -1,6 +1,10 @@ Version 0.4.0 (in progress) =========================== +2005-08-27: onsight + * Extend warning pragma to MSVC Express 8, and disable 'deprecated' + function warning. + 2005-08-26: onsight * Minor comment cleanups and api tweaks. Fix Quat parsing from XML. Fix data archive globbing. Modified: trunk/CSP/SimData/Include/SimData/Export.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Export.h 2005-08-27 09:26:12 UTC (rev 1605) +++ trunk/CSP/SimData/Include/SimData/Export.h 2005-08-27 20:02:16 UTC (rev 1606) @@ -41,8 +41,12 @@ # define SIMDATA_EXPORT #endif -# if defined(_MSC_VER) && (_MSC_VER <= 1310) -#pragma warning (disable : 4786 4251 4290) +# if defined(_MSC_VER) && (_MSC_VER <= 1400) +// 4251, level 1: 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2' +// 4290, level 3: C++ exception specification ignored except to indicate a function is not __declspec(nothrow) +// 4786, level 3: 'identifier' : identifier was truncated to 'number' characters in the debug information +// 4996, level 1: 'function': was declared deprecated +#pragma warning (disable : 4786 4251 4290 4996) # endif Modified: trunk/CSP/SimData/Include/SimData/HashUtility.h =================================================================== --- trunk/CSP/SimData/Include/SimData/HashUtility.h 2005-08-27 09:26:12 UTC (rev 1605) +++ trunk/CSP/SimData/Include/SimData/HashUtility.h 2005-08-27 20:02:16 UTC (rev 1606) @@ -27,11 +27,6 @@ #ifndef __SIMDATA_HASHUTILITY_H__ #define __SIMDATA_HASHUTILITY_H__ -# if defined(_MSC_VER) && (_MSC_VER <= 1300) -#pragma warning(disable : 4251) -# endif - - #include <SimData/Export.h> #include <SimData/Uniform.h> #include <SimData/hash_map.h> |