Building dejagnu with latest GCC

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Aug 3 16:04:00 GMT 2002


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



More information about the Gcc mailing list