automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, master, updated. v1.12-81-g


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, master, updated. v1.12-81-g7f3f467
Date: Fri, 04 May 2012 17:35:13 +0000

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 "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=7f3f467aab0184dedddca2b5c6edd48dab6303db

The branch, master has been updated
       via  7f3f467aab0184dedddca2b5c6edd48dab6303db (commit)
      from  1e8526488f16c127e89ccd8be0df1bd33076c351 (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 -----------------------------------------------------------------
commit 7f3f467aab0184dedddca2b5c6edd48dab6303db
Author: Stefano Lattarini <address@hidden>
Date:   Fri May 4 18:09:02 2012 +0200

    maintcheck: avoid a couple of spurious failures
    
    * t/objcxx-deps.sh, t/objcxx-minidemo.sh: In C++ files, use
    "std::cout <<", not "cout <<", to avoid triggering a spurious
    failure by the syntax check 'sc_tests_here_document_format'.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

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

Summary of changes:
 t/objcxx-deps.sh     |    3 +--
 t/objcxx-minidemo.sh |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/t/objcxx-deps.sh b/t/objcxx-deps.sh
index 24665cc..782193a 100755
--- a/t/objcxx-deps.sh
+++ b/t/objcxx-deps.sh
@@ -33,7 +33,6 @@ END
 
 cat > baz.h++ << 'END'
 #include <iostream>
-using namespace std;
 #include "baz2.hh"
 END
 
@@ -46,7 +45,7 @@ cat > bar.mm << 'END'
 #import "baz.h++"
 int main (void)
 {
-    cout << MSG << "\n";
+    std::cout << MSG << "\n";
     return 0;
 }
 END
diff --git a/t/objcxx-minidemo.sh b/t/objcxx-minidemo.sh
index fe93ea6..74e152c 100755
--- a/t/objcxx-minidemo.sh
+++ b/t/objcxx-minidemo.sh
@@ -40,10 +40,9 @@ cat > ok.mm << 'END'
 /* The use of #import makes this valid Object C++ but invalid C++. */
 #import <iostream>
 #import <config.h>
-using namespace std;
 int main (void)
 {
-    cout << "Success (" << PACKAGE_STRING << ")\n";
+    std::cout << "Success (" << PACKAGE_STRING << ")\n";
     return 0;
 }
 END


hooks/post-receive
-- 
GNU Automake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]