From 920df088ab936be02d4ad2882a9ca94b3344b491 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 1 Dec 2004 07:28:13 -0500 Subject: [PATCH] COMP: Need to choose between and based on whether standard headers are available. --- Source/kwsys/kwsys_ios_sstream.h.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/kwsys/kwsys_ios_sstream.h.in b/Source/kwsys/kwsys_ios_sstream.h.in index 727a7891a..aa407d5f8 100644 --- a/Source/kwsys/kwsys_ios_sstream.h.in +++ b/Source/kwsys/kwsys_ios_sstream.h.in @@ -34,6 +34,7 @@ # ifdef _MSC_VER # pragma warning (push, 1) # pragma warning (disable: 4702) +# pragma warning (disable: 4995) /* Old streams are deprecated. */ # endif # if @KWSYS_NAMESPACE@_IOS_USE_ANSI # include @@ -42,6 +43,11 @@ # elif @KWSYS_NAMESPACE@_IOS_USE_STRSTREA_H # include # endif +# if @KWSYS_NAMESPACE@_IOS_USE_ANSI +# include // Need placement operator new. +# else +# include // Need placement operator new. +# endif # ifdef _MSC_VER # pragma warning(pop) # endif @@ -50,7 +56,6 @@ // ostringstream and istringstream classes. # include <@KWSYS_NAMESPACE@/stl/string> -# include // Need placement operator new. namespace @KWSYS_NAMESPACE@_ios {