소스 검색

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
 {