libtool-patches
[Top][All Lists]
Advanced

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

FYI: fix tagdemo for HP-UX (hppa) aCC


From: Ralf Wildenhues
Subject: FYI: fix tagdemo for HP-UX (hppa) aCC
Date: Fri, 17 Mar 2006 18:21:23 +0100
User-agent: Mutt/1.5.11

Applied to HEAD.  And yes, I am pretty sure this does not make the code
noncompliant to ISO C++.

The compiler on ia64-hp-hpux11.23 has `std', by the way.

Cheers,
Ralf, slowly working my way through stuff..

        * tests/tagdemo/foo.cpp, tests/tagdemo/main.cpp [ hpux ] <aCC>:
        The HPPA C++ compiler has namespace support but provides no
        `std' namespace; just provide it with a dummy.

Index: tests/tagdemo/foo.cpp
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/tagdemo/foo.cpp,v
retrieving revision 1.3
diff -u -r1.3 foo.cpp
--- tests/tagdemo/foo.cpp       12 Sep 2005 16:24:38 -0000      1.3
+++ tests/tagdemo/foo.cpp       17 Mar 2006 15:12:41 -0000
@@ -26,6 +26,7 @@
 # include <iostream.h>
 #endif
 #ifdef HAVE_NAMESPACES
+namespace std { }
 using namespace std;
 #endif
 
Index: tests/tagdemo/main.cpp
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/tagdemo/main.cpp,v
retrieving revision 1.4
diff -u -r1.4 main.cpp
--- tests/tagdemo/main.cpp      12 Sep 2005 16:24:38 -0000      1.4
+++ tests/tagdemo/main.cpp      17 Mar 2006 15:12:41 -0000
@@ -29,6 +29,7 @@
 # include <iostream.h>
 #endif
 #ifdef HAVE_NAMESPACES
+namespace std { }
 using namespace std;
 #endif
 




reply via email to

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