COMP: Disabling old streams warnings when including old headers on MSVC.

This commit is contained in:
Brad King 2004-12-01 07:24:33 -05:00
parent 0689b4ed5f
commit ca2f4aa039
2 changed files with 8 additions and 6 deletions

View File

@ -17,8 +17,9 @@
#include <@KWSYS_NAMESPACE@/Configure.hxx>
#ifdef _MSC_VER
#pragma warning (push, 1)
#pragma warning (disable: 4702)
# pragma warning (push, 1)
# pragma warning (disable: 4702)
# pragma warning (disable: 4995) /* Old streams are deprecated. */
#endif
#if @KWSYS_NAMESPACE@_IOS_USE_ANSI
@ -41,7 +42,7 @@ namespace @KWSYS_NAMESPACE@_ios
#endif
#ifdef _MSC_VER
#pragma warning(pop)
# pragma warning(pop)
#endif
#endif

View File

@ -17,8 +17,9 @@
#include <@KWSYS_NAMESPACE@/Configure.hxx>
#ifdef _MSC_VER
#pragma warning (push, 1)
#pragma warning (disable: 4702)
# pragma warning (push, 1)
# pragma warning (disable: 4702)
# pragma warning (disable: 4995) /* Old streams are deprecated. */
#endif
#if @KWSYS_NAMESPACE@_IOS_USE_ANSI
@ -42,7 +43,7 @@ namespace @KWSYS_NAMESPACE@_ios
#endif
#ifdef _MSC_VER
#pragma warning(pop)
# pragma warning(pop)
#endif
#endif