[Cmake-commits] CMake branch, next, updated. v2.8.7-2004-gc45aed1
Rolf Eike Beer
eike at sf-mail.de
Mon Jan 9 12:36:06 EST 2012
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 c45aed1e8255086163aef6c1c773e1588e350397 (commit)
via 432981104fa75d0f07b45bad5e6d366502f84b2d (commit)
from 1022a07cad8158db71a0f15cd9b446b21be96cfd (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=c45aed1e8255086163aef6c1c773e1588e350397
commit c45aed1e8255086163aef6c1c773e1588e350397
Merge: 1022a07 4329811
Author: Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Mon Jan 9 12:35:33 2012 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Jan 9 12:35:33 2012 -0500
Merge topic 'test-symbol-exists' into next
4329811 CheckCXXSymbolExists: make std namespace available for errno
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=432981104fa75d0f07b45bad5e6d366502f84b2d
commit 432981104fa75d0f07b45bad5e6d366502f84b2d
Author: Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Mon Jan 9 18:33:53 2012 +0100
Commit: Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Mon Jan 9 18:33:53 2012 +0100
CheckCXXSymbolExists: make std namespace available for errno
diff --git a/Tests/Module/CheckCXXSymbolExists/errno.cxx.in b/Tests/Module/CheckCXXSymbolExists/errno.cxx.in
index 3de782a..81b51aa 100644
--- a/Tests/Module/CheckCXXSymbolExists/errno.cxx.in
+++ b/Tests/Module/CheckCXXSymbolExists/errno.cxx.in
@@ -7,6 +7,11 @@
#include <errno.h>
#endif
+// This is required for the Borland compiler, but should be right for all
+// others, too. To avoid breaking older compilers we don't simply use
+// std::errno.
+using namespace std;
+
int main()
{
return errno;
-----------------------------------------------------------------------
Summary of changes:
Tests/Module/CheckCXXSymbolExists/errno.cxx.in | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list