[Cmake-commits] CMake branch, next, updated. v3.6.0-rc3-593-g0462af8

Daniel Pfeifer daniel at pfeifer-mail.de
Wed Jun 29 05:36:48 EDT 2016


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  0462af8138566f7d9d47cdfa087f65c89cb70a26 (commit)
       via  3f77655d060ae48fabd9dc5c445cad813a70db42 (commit)
       via  b9b3ec4d98b03c180b2e6b9ad8edba7f75576353 (commit)
      from  c664b95b08f793808d881ed08919bfa1a7fce409 (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0462af8138566f7d9d47cdfa087f65c89cb70a26
commit 0462af8138566f7d9d47cdfa087f65c89cb70a26
Merge: c664b95 3f77655
Author:     Daniel Pfeifer <daniel at pfeifer-mail.de>
AuthorDate: Wed Jun 29 05:36:48 2016 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Jun 29 05:36:48 2016 -0400

    Merge topic 'CM_OVERRIDE-clang' into next
    
    3f77655d CM_OVERRIDE: fix feature test for clang
    b9b3ec4d CMake Nightly Date Stamp


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3f77655d060ae48fabd9dc5c445cad813a70db42
commit 3f77655d060ae48fabd9dc5c445cad813a70db42
Author:     Daniel Pfeifer <daniel at pfeifer-mail.de>
AuthorDate: Wed Jun 29 11:33:31 2016 +0200
Commit:     Daniel Pfeifer <daniel at pfeifer-mail.de>
CommitDate: Wed Jun 29 11:33:38 2016 +0200

    CM_OVERRIDE: fix feature test for clang
    
    Clang refuses to default initialize an instance of a class that does not
    have a default constructor.  Fix the check by adding default
    constructors.  Don't use brace initialization like it is proposed in the
    error message.  We want to test the override support independent from
    the support for brace initialization.

diff --git a/Source/Checks/cm_cxx_override.cxx b/Source/Checks/cm_cxx_override.cxx
index e196968..5a33fbb 100644
--- a/Source/Checks/cm_cxx_override.cxx
+++ b/Source/Checks/cm_cxx_override.cxx
@@ -1,11 +1,13 @@
 struct Foo
 {
+  Foo() {}
   virtual ~Foo() {}
   virtual int test() const = 0;
 };
 
 struct Bar : Foo
 {
+  Bar() {}
   ~Bar() override {}
   int test() const override { return 0; }
 };

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

Summary of changes:
 Source/CMakeVersion.cmake         |    2 +-
 Source/Checks/cm_cxx_override.cxx |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list