Browse Source

BUG: Need to include header <new> to use placement new syntax. Really this should be fixed by replacing the stream buffer to set a new string instead of reconstructing the object, but this will require quite a bit of work to do portably.

Brad King 21 years ago
parent
commit
9bf52f7001
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/kwsys/kwsys_ios_sstream.h.in

+ 1 - 0
Source/kwsys/kwsys_ios_sstream.h.in

@@ -50,6 +50,7 @@
 // ostringstream and istringstream classes.
 // ostringstream and istringstream classes.
 
 
 # include <@KWSYS_NAMESPACE@/stl/string>
 # include <@KWSYS_NAMESPACE@/stl/string>
+# include <new> // Need placement operator new.
 
 
 namespace @KWSYS_NAMESPACE@_ios
 namespace @KWSYS_NAMESPACE@_ios
 {
 {