Jelajahi Sumber

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 tahun lalu
induk
melakukan
9bf52f7001
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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.
 
 # include <@KWSYS_NAMESPACE@/stl/string>
+# include <new> // Need placement operator new.
 
 namespace @KWSYS_NAMESPACE@_ios
 {