浏览代码

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 年之前
父节点
当前提交
9bf52f7001
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
 {