Skip to content
Snippets Groups Projects
Commit 310d2ec5 authored by Brad King's avatar Brad King
Browse files

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

parent e629d743
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment