[Cmake-commits] CMake branch, next, updated. v2.8.12-4452-g4f8647a

Stephen Kelly steveire at gmail.com
Thu Oct 24 10:09:25 EDT 2013


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  4f8647afbf0c7c309e140c2d6d896eef80f1049c (commit)
       via  dfe0c2168b4d3cca65444d7d0209dbd631525bd9 (commit)
      from  2bd2ea6dff520e4acf9fddfc3676f100de3f8d2b (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=4f8647afbf0c7c309e140c2d6d896eef80f1049c
commit 4f8647afbf0c7c309e140c2d6d896eef80f1049c
Merge: 2bd2ea6 dfe0c21
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu Oct 24 10:09:16 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Oct 24 10:09:16 2013 -0400

    Merge topic 'cmarray-templates' into next
    
    dfe0c21 cmArray: Use macro variant of cmArray{Begin,Size,End} for old GCC.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dfe0c2168b4d3cca65444d7d0209dbd631525bd9
commit dfe0c2168b4d3cca65444d7d0209dbd631525bd9
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu Oct 24 16:07:28 2013 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Thu Oct 24 16:07:52 2013 +0200

    cmArray: Use macro variant of cmArray{Begin,Size,End} for old GCC.
    
    It is not capable of using the template versions.

diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 6c77144..18d017d 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -377,7 +377,8 @@ static thisClass* SafeDownCast(cmObject *c) \
   return 0;\
 }
 
-#if defined(_MSC_VER) && _MSC_VER < 1300
+#if defined(_MSC_VER) && _MSC_VER < 1300 \
+  || defined(__GNUC__) && __GNUC__ < 3
 
 #define cmArrayBegin(a) a
 #define cmArraySize(a) (sizeof(a)/sizeof(*a))

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

Summary of changes:
 Source/cmStandardIncludes.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list