This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building dejagnu with latest GCC


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

|     I didn't try it these last days but I think the CVS version (or the
|     official 1.4.[12] release) compiles with current GCC.
| 
| Odd.  I was trying the 1.4.1 release from ftp.gnu.org.

Oh well, forget about what I said: I got the source and had a look at
the file dejagnu.h.  It is really dejagnu problem:  It includes
standard headers but failed to notice that the standard library is in the
standard namespace.  Please put this 

   using namespace std;

just after the "#include <strstream>" line -- line 35.
Let me know how it went.

(A more corret fix would be to qualify names).

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]