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 237866b8bdb6d39992e3f77cd56e82e4181d5947 (commit) via 4bc17345c01ea467099e28c7df30c23ace9e7811 (commit) from f923940b7c9c93179b7ea6356c32c8a7beedebe2 (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=237866b8bdb6d39992e3f77cd56e82e4181d5947 commit 237866b8bdb6d39992e3f77cd56e82e4181d5947 Merge: f923940 4bc1734 Author: Brad King <brad.k...@kitware.com> AuthorDate: Mon Oct 17 14:56:31 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Mon Oct 17 14:56:31 2016 -0400 Merge topic 'CheckFunctionExists-prototype' into next 4bc17345 CheckFunctionExists.c: avoid gcc warnings with -Wstrict-prototypes https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4bc17345c01ea467099e28c7df30c23ace9e7811 commit 4bc17345c01ea467099e28c7df30c23ace9e7811 Author: Andre McCurdy <armccu...@gmail.com> AuthorDate: Fri Oct 14 16:26:58 2016 -0700 Commit: Andre McCurdy <armccu...@gmail.com> CommitDate: Fri Oct 14 16:26:58 2016 -0700 CheckFunctionExists.c: avoid gcc warnings with -Wstrict-prototypes Avoid warnings (and therefore build failures etc) if a user happens to add -Wstrict-prototypes to CFLAGS. | $ gcc --version | gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 | | $ gcc -Wstrict-prototypes -Werror -DCHECK_FUNCTION_EXISTS=pthread_create -o foo.o -c Modules/CheckFunctionExists.c | Modules/CheckFunctionExists.c:7:3: error: function declaration isn't a prototype [-Werror=strict-prototypes] | CHECK_FUNCTION_EXISTS(); | ^ | cc1: all warnings being treated as errors | Signed-off-by: Andre McCurdy <armccu...@gmail.com> diff --git a/Modules/CheckFunctionExists.c b/Modules/CheckFunctionExists.c index 2304000..224e340 100644 --- a/Modules/CheckFunctionExists.c +++ b/Modules/CheckFunctionExists.c @@ -4,7 +4,7 @@ extern "C" #endif char - CHECK_FUNCTION_EXISTS(); + CHECK_FUNCTION_EXISTS(void); #ifdef __CLASSIC_C__ int main() { ----------------------------------------------------------------------- Summary of changes: Modules/CheckFunctionExists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/mailman/listinfo/cmake-commits