[Cmake-commits] CMake branch, next, updated. v3.3.2-3284-g6f74269

Brad King brad.king at kitware.com
Fri Sep 25 16:23:45 EDT 2015


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  6f74269346105ee5a1b2c8f342fb477c76a95a61 (commit)
       via  bc3e1e4b5586c4404591e5f01461376eb51391d1 (commit)
      from  02c3a0b1c376d54be020d87be36d27dc5dc87154 (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=6f74269346105ee5a1b2c8f342fb477c76a95a61
commit 6f74269346105ee5a1b2c8f342fb477c76a95a61
Merge: 02c3a0b bc3e1e4
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Sep 25 16:23:44 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Sep 25 16:23:44 2015 -0400

    Merge topic 'test-Wno-dev' into next
    
    bc3e1e4b Tests: Add case for -Wdev and -Wno-dev with non-message() warnings (#15747)


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bc3e1e4b5586c4404591e5f01461376eb51391d1
commit bc3e1e4b5586c4404591e5f01461376eb51391d1
Author:     Michael Scott <michael.scott250 at gmail.com>
AuthorDate: Tue Sep 22 22:43:24 2015 +0100
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Sep 25 16:21:17 2015 -0400

    Tests: Add case for -Wdev and -Wno-dev with non-message() warnings (#15747)

diff --git a/Tests/RunCMake/CommandLine/Wdev-stderr.txt b/Tests/RunCMake/CommandLine/Wdev-stderr.txt
index f427303..92c1d23 100644
--- a/Tests/RunCMake/CommandLine/Wdev-stderr.txt
+++ b/Tests/RunCMake/CommandLine/Wdev-stderr.txt
@@ -2,4 +2,10 @@
   Some Author Warning
 Call Stack \(most recent call first\):
   CMakeLists.txt:3 \(include\)
+This warning is for project developers.  Use -Wno-dev to suppress it.
+
+CMake Warning \(dev\) at Wdev.cmake:6 \(include\):
+  include\(\) given empty file name \(ignored\).
+Call Stack \(most recent call first\):
+  CMakeLists.txt:3 \(include\)
 This warning is for project developers.  Use -Wno-dev to suppress it.$
diff --git a/Tests/RunCMake/CommandLine/Wdev.cmake b/Tests/RunCMake/CommandLine/Wdev.cmake
index 0242086..e5026ef 100644
--- a/Tests/RunCMake/CommandLine/Wdev.cmake
+++ b/Tests/RunCMake/CommandLine/Wdev.cmake
@@ -1 +1,6 @@
 message(AUTHOR_WARNING "Some Author Warning")
+
+# with -Wdev this will also cause an AUTHOR_WARNING message, checks that
+# messages issued outside of the message command, by other CMake commands, also
+# are affected by -Wdev
+include("")
diff --git a/Tests/RunCMake/CommandLine/Wno-dev.cmake b/Tests/RunCMake/CommandLine/Wno-dev.cmake
index 0242086..d81b858 100644
--- a/Tests/RunCMake/CommandLine/Wno-dev.cmake
+++ b/Tests/RunCMake/CommandLine/Wno-dev.cmake
@@ -1 +1,6 @@
 message(AUTHOR_WARNING "Some Author Warning")
+
+# without -Wno-dev this will also cause an AUTHOR_WARNING message, checks that
+# messages issued outside of the message command, by other CMake commands, also
+# are affected by -Wno-dev
+include("")

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

Summary of changes:
 Tests/RunCMake/CommandLine/Wdev-stderr.txt |    6 ++++++
 Tests/RunCMake/CommandLine/Wdev.cmake      |    5 +++++
 Tests/RunCMake/CommandLine/Wno-dev.cmake   |    5 +++++
 3 files changed, 16 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list