This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  c58350078e22ec7706a0eae99ae2b57950f12328 (commit)
       via  f07d96ccf4c0b09b544efadaac47cd79f9298b89 (commit)
       via  5a8b9437c24e1548ad15ed816e0f252e912812e1 (commit)
      from  a1839ec4124605ff90885bdcae3e06de946747cc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c58350078e22ec7706a0eae99ae2b57950f12328
commit c58350078e22ec7706a0eae99ae2b57950f12328
Merge: a1839ec f07d96c
Author:     Stephen Kelly <steve...@gmail.com>
AuthorDate: Thu Jan 1 06:46:46 2015 -0500
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Thu Jan 1 06:46:46 2015 -0500

    Merge topic 'drop-GNU-2.95' into next
    
    f07d96cc Remove workaround for GCC < 3 ios_base absence.
    5a8b9437 Remove GCC 2.95 support macros in favor of template versions.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f07d96ccf4c0b09b544efadaac47cd79f9298b89
commit f07d96ccf4c0b09b544efadaac47cd79f9298b89
Author:     Stephen Kelly <steve...@gmail.com>
AuthorDate: Wed Dec 31 18:48:34 2014 +0100
Commit:     Stephen Kelly <steve...@gmail.com>
CommitDate: Thu Jan 1 12:45:54 2015 +0100

    Remove workaround for GCC < 3 ios_base absence.

diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index c6788d3..e4f5760 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -146,11 +146,6 @@ extern int putenv (char *__string) __THROW;
 #define for if(false) {} else for
 #endif
 
-// Provide std::ios_base on ancient GCC 2.9x
-#if defined(__GNUC__) && __GNUC__ < 3
-namespace std { typedef ios ios_base; }
-#endif
-
 // check for the 720 compiler on the SGI
 // which has some strange properties that I don't think are worth
 // checking for in a general way in configure

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5a8b9437c24e1548ad15ed816e0f252e912812e1
commit 5a8b9437c24e1548ad15ed816e0f252e912812e1
Author:     Stephen Kelly <steve...@gmail.com>
AuthorDate: Wed Dec 31 18:47:37 2014 +0100
Commit:     Stephen Kelly <steve...@gmail.com>
CommitDate: Thu Jan 1 12:44:11 2015 +0100

    Remove GCC 2.95 support macros in favor of template versions.
    
    GCC < 3 is no longer supported as a host compiler.

diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 6b85634..c6788d3 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -393,20 +393,6 @@ inline bool cmHasLiteralSuffixImpl(const char* str1,
   return len >= N && strcmp(str1 + len - N, str2) == 0;
 }
 
-#if defined(__GNUC__) && __GNUC__ < 3
-
-#define cmArrayBegin(a) a
-#define cmArraySize(a) (sizeof(a)/sizeof(*a))
-#define cmArrayEnd(a) a + cmArraySize(a)
-
-#define cmHasLiteralPrefix(STR1, STR2) \
-  cmHasLiteralPrefixImpl(STR1, "" STR2 "", sizeof(STR2) - 1)
-
-#define cmHasLiteralSuffix(STR1, STR2) \
-  cmHasLiteralSuffixImpl(STR1, "" STR2 "", sizeof(STR2) - 1)
-
-#else
-
 template<typename T, size_t N>
 const T* cmArrayBegin(const T (&a)[N]) { return a; }
 template<typename T, size_t N>
@@ -426,8 +412,6 @@ bool cmHasLiteralSuffix(T str1, const char (&str2)[N])
   return cmHasLiteralSuffixImpl(str1, str2, N - 1);
 }
 
-#endif
-
 struct cmStrCmp {
   cmStrCmp(const char *test) : m_test(test) {}
   cmStrCmp(const std::string &test) : m_test(test) {}

-----------------------------------------------------------------------

Summary of changes:
 Source/cmStandardIncludes.h |   21 ---------------------
 1 file changed, 21 deletions(-)


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to