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  af5d9cd265bea1b7fedffdcd38f94bd9e92687ed (commit)
       via  998ed4ca0a922faf08c7ee3e95f337ff9e8f02c1 (commit)
      from  1b9675850c4df397a517b7c72448f51c9ef717eb (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=af5d9cd265bea1b7fedffdcd38f94bd9e92687ed
commit af5d9cd265bea1b7fedffdcd38f94bd9e92687ed
Merge: 1b96758 998ed4c
Author:     Stephen Kelly <steve...@gmail.com>
AuthorDate: Thu Jan 1 16:08:47 2015 -0500
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Thu Jan 1 16:08:47 2015 -0500

    Merge topic 'record-GNU-5-features' into next
    
    998ed4ca Features: Record cxx_variable_templates for GNU 5.0.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=998ed4ca0a922faf08c7ee3e95f337ff9e8f02c1
commit 998ed4ca0a922faf08c7ee3e95f337ff9e8f02c1
Author:     Stephen Kelly <steve...@gmail.com>
AuthorDate: Thu Jan 1 22:00:49 2015 +0100
Commit:     Stephen Kelly <steve...@gmail.com>
CommitDate: Thu Jan 1 22:00:49 2015 +0100

    Features: Record cxx_variable_templates for GNU 5.0.

diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake 
b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
index 9c98e44..6de06dd 100644
--- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
@@ -1,8 +1,15 @@
 
 # Reference: http://gcc.gnu.org/projects/cxx0x.html
+# http://gcc.gnu.org/projects/cxx1y.html
 
 set(_cmake_oldestSupported "(__GNUC__ * 100 + __GNUC_MINOR__) >= 407")
 
+set(GNU50_CXX14 "(__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 
201402L")
+set(_cmake_feature_test_cxx_variable_templates "${GNU50_CXX14}")
+
+# GNU 4.9 in c++14 mode sets __cplusplus to 201300L, so don't test for the
+# correct value of it below.
+# https://patchwork.ozlabs.org/patch/382470/
 set(GNU49_CXX14 "(__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 
201103L")
 set(_cmake_feature_test_cxx_contextual_conversions "${GNU49_CXX14}")
 set(_cmake_feature_test_cxx_attribute_deprecated "${GNU49_CXX14}")

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

Summary of changes:
 Modules/Compiler/GNU-CXX-FeatureTests.cmake |    7 +++++++
 1 file changed, 7 insertions(+)


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

Reply via email to