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, master has been updated via 7526b1ed3285e29565415701756cfe7db1967cd9 (commit) via e4aafbf59639e8ea71e6882db1f113ef57e46e0f (commit) from 5490d0e685f14b6a4c6989113c870c26189c28ee (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=7526b1ed3285e29565415701756cfe7db1967cd9 commit 7526b1ed3285e29565415701756cfe7db1967cd9 Merge: 5490d0e e4aafbf Author: Daniel Pfeifer <dan...@pfeifer-mail.de> AuthorDate: Wed Aug 23 08:03:11 2017 +0000 Commit: Kitware Robot <kwro...@kitware.com> CommitDate: Wed Aug 23 04:03:18 2017 -0400 Merge topic 'cm_fallthrough' e4aafbf5 Fix CM_FALLTHROUGH with -Wunused-parameter Acked-by: Kitware Robot <kwro...@kitware.com> Merge-request: !1170 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e4aafbf59639e8ea71e6882db1f113ef57e46e0f commit e4aafbf59639e8ea71e6882db1f113ef57e46e0f Author: Brad King <brad.k...@kitware.com> AuthorDate: Tue Aug 22 08:13:30 2017 -0400 Commit: Brad King <brad.k...@kitware.com> CommitDate: Tue Aug 22 08:13:30 2017 -0400 Fix CM_FALLTHROUGH with -Wunused-parameter Fix the test code that we `try_compile` to avoid unused parameter warnings that cause the check to fail. diff --git a/Source/Checks/cm_cxx_attribute_fallthrough.cxx b/Source/Checks/cm_cxx_attribute_fallthrough.cxx index df43625..50605b7 100644 --- a/Source/Checks/cm_cxx_attribute_fallthrough.cxx +++ b/Source/Checks/cm_cxx_attribute_fallthrough.cxx @@ -1,4 +1,4 @@ -int main(int argc, char* argv[]) +int main(int argc, char* []) { int i = 3; switch (argc) { diff --git a/Source/Checks/cm_cxx_fallthrough.cxx b/Source/Checks/cm_cxx_fallthrough.cxx index 7b35a5f..2825bed 100644 --- a/Source/Checks/cm_cxx_fallthrough.cxx +++ b/Source/Checks/cm_cxx_fallthrough.cxx @@ -1,4 +1,4 @@ -int main(int argc, char* argv[]) +int main(int argc, char* []) { int i = 3; switch (argc) { diff --git a/Source/Checks/cm_cxx_gnu_fallthrough.cxx b/Source/Checks/cm_cxx_gnu_fallthrough.cxx index 6021094..ebc15f4 100644 --- a/Source/Checks/cm_cxx_gnu_fallthrough.cxx +++ b/Source/Checks/cm_cxx_gnu_fallthrough.cxx @@ -1,4 +1,4 @@ -int main(int argc, char* argv[]) +int main(int argc, char* []) { int i = 3; switch (argc) { ----------------------------------------------------------------------- Summary of changes: Source/Checks/cm_cxx_attribute_fallthrough.cxx | 2 +- Source/Checks/cm_cxx_fallthrough.cxx | 2 +- Source/Checks/cm_cxx_gnu_fallthrough.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits