COMP: Disabling old streams warnings when including old headers on MSVC.
This commit is contained in:
parent
0689b4ed5f
commit
ca2f4aa039
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue