summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-05 19:10:58 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-08 21:10:15 (GMT)
commit28fa4923c3299f81659ad3ee644509ea3530fb14 (patch)
treebf9cec23ba01792e24827091882f856db1607614 /Source/cmStandardIncludes.h
parent837a8a6312d543f1c46efa532f7d5b5dfb334bc9 (diff)
downloadCMake-28fa4923c3299f81659ad3ee644509ea3530fb14.zip
CMake-28fa4923c3299f81659ad3ee644509ea3530fb14.tar.gz
CMake-28fa4923c3299f81659ad3ee644509ea3530fb14.tar.bz2
cmStandardIncludes: Remove iostreams workaround for obsolete Compaq compiler.
It is no longer tested on the dashboard.
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 981c75e..6b40bba 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -99,59 +99,10 @@
#define for if(false) {} else for
#endif
-#ifdef __DECCXX_VER
-# if __DECCXX_VER <= 60390008
-# define CM_HAS_STD_BUT_NOT_FOR_IOSTREAM
-# endif
-#endif
-
#if defined( _MSC_VER )
typedef unsigned short mode_t;
#endif
-
-#ifdef CM_HAS_STD_BUT_NOT_FOR_IOSTREAM
-// some compilers have std:: but not for the stream library,
-// so we have to bring it into the std namespace by hand.
-namespace std {
-using ::ostream;
-using ::istream;
-using ::ios;
-using ::cout;
-using ::cerr;
-using ::cin;
-using ::ifstream;
-using ::ofstream;
-
-#if !defined(CMAKE_NO_ANSI_STRING_STREAM)
- using ::ostringstream;
- using ::istringstream;
-#else
- using ::ostrstream;
- using ::istrstream;
-#endif
-
-using ::endl;
-using ::ends;
-using ::flush;
-using ::dec;
-using ::hex;
-using ::setw;
-using ::setiosflags;
-using ::setfill;
-using ::setprecision;
-}
-// The string class is missing these operators so add them
-#if !defined(cmsys_STL_STRING_NEQ_CHAR_DEFINED)
-# define cmsys_STL_STRING_NO_NEQ_CHAR
-inline bool operator!=(std::string const& a, const char* b)
-{ return !(a==std::string(b)); }
-#endif
-
-inline bool operator==(std::string const& a, const char* b)
-{ return (a==std::string(b)); }
-# endif // end CM_HAS_STD_BUT_NOT_FOR_IOSTREAM
-
// use this class to shrink the size of symbols in .o files
// std::string is really basic_string<....lots of stuff....>
// when combined with a map or set, the symbols can be > 2000 chars!