[Cmake-commits] CMake branch, next, updated. v3.0.2-5726-gbe020c8
Brad King
brad.king at kitware.com
Mon Oct 13 08:10:55 EDT 2014
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 be020c8aba4bd3c3f84515efc5a3352b103bfd1f (commit)
via 384d3ce7204f5a93833494db7808c1f0359db5ba (commit)
from 518da4e347480400e1630aa22f58be67a14c82bd (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=be020c8aba4bd3c3f84515efc5a3352b103bfd1f
commit be020c8aba4bd3c3f84515efc5a3352b103bfd1f
Merge: 518da4e 384d3ce
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Oct 13 08:10:55 2014 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Oct 13 08:10:55 2014 -0400
Merge topic 'CheckStructHasMember-avoid-breakage-on-Wall' into next
384d3ce7 CheckStructHasMember: avoid breakage on -Wall -Werror (#15203)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=384d3ce7204f5a93833494db7808c1f0359db5ba
commit 384d3ce7204f5a93833494db7808c1f0359db5ba
Author: Peter Wu <peter at lekensteyn.nl>
AuthorDate: Fri Oct 10 23:37:21 2014 +0200
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon Oct 13 07:57:05 2014 -0400
CheckStructHasMember: avoid breakage on -Wall -Werror (#15203)
With CMAKE_C_FLAGS='-Wall -Werror', this test breaks due to
-Werror=unused-value. Fix this by ignoring the return value.
diff --git a/Modules/CheckStructHasMember.cmake b/Modules/CheckStructHasMember.cmake
index 880a688..c8949cf 100644
--- a/Modules/CheckStructHasMember.cmake
+++ b/Modules/CheckStructHasMember.cmake
@@ -70,7 +70,7 @@ ${_INCLUDE_FILES}
int main()
{
${_STRUCT}* tmp;
- tmp->${_MEMBER};
+ (void) tmp->${_MEMBER};
return 0;
}
")
-----------------------------------------------------------------------
Summary of changes:
Modules/CheckStructHasMember.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list