BUG: fix to compile on hp with aCC
This commit is contained in:
parent
4d86b681de
commit
1094200ea0
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include "cmCacheManager.h"
|
#include "cmCacheManager.h"
|
||||||
#include "cmTarget.h"
|
#include "cmTarget.h"
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include <strstream>
|
|
||||||
|
|
||||||
cmCableWrapTclCommand::cmCableWrapTclCommand():
|
cmCableWrapTclCommand::cmCableWrapTclCommand():
|
||||||
m_CableClassSet(NULL)
|
m_CableClassSet(NULL)
|
||||||
|
@ -80,7 +80,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Allow a test for whether the file is open.
|
* Allow a test for whether the file is open.
|
||||||
*/
|
*/
|
||||||
operator bool() { return m_Stream.is_open(); }
|
operator bool() { return static_cast<bool>(m_Stream); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Close the file stream. This will cause the copy-if-different to the
|
* Close the file stream. This will cause the copy-if-different to the
|
||||||
|
@ -64,9 +64,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#ifndef CMAKE_NO_ANSI_STREAM_HEADERS
|
#ifndef CMAKE_NO_ANSI_STREAM_HEADERS
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <strstream>
|
||||||
#else
|
#else
|
||||||
#include <fstream.h>
|
#include <fstream.h>
|
||||||
#include <iostream.h>
|
#include <iostream.h>
|
||||||
|
#include <strstream.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user