automake-patches
[Top][All Lists]
Advanced

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

[FYI] {master} tests: avoid spurious failure in 'suffix3.tap'


From: Stefano Lattarini
Subject: [FYI] {master} tests: avoid spurious failure in 'suffix3.tap'
Date: Thu, 16 Feb 2012 11:36:28 +0100

* tests/suffix3.tap (foo.zoo): This C++ file fails to compile with
older g++ (3.4.4) on Cygwin 1.5.25 if we #include <iostream>.  Don't
do that, since it's not strictly required, and the "using namespace"
directive is already enough to ensure the file contents is valid C++
but invalid C.
---
 tests/suffix3.tap |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tests/suffix3.tap b/tests/suffix3.tap
index 092ea9f..3613480 100755
--- a/tests/suffix3.tap
+++ b/tests/suffix3.tap
@@ -56,7 +56,6 @@ command_ok_ "configure" ./configure
 
 # This is deliberately valid C++, but invalid C.
 cat > foo.zoo <<'END'
-#include <iostream>
 using namespace std;
 INTEGER main (void)
 {
-- 
1.7.9




reply via email to

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