Building dejagnu with latest GCC

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


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

| I'm trying to recreate my tool environment, but I get the follow.
| I don't know C++, so don't know if this represents a GCC or Dejagnu
| problem.  Any help would be appreciated.

This seems to be a dejagnu problem.  It would be better if it used
antiquitated and deprecated headers.  In this case, <sstream> is a
better alternative.  Or you want to issue -Wno-deprecated as suggested
in the message. 

[...]

| ing use -Wno-deprecated.
| In file included from unit.cc:4:
| ../../dejagnu.h: In function `char* testout(int)':
| ../../dejagnu.h:115: ISO C++ forbids declaration of `ostrstream' with no type

I don't have a copy of dejagnu.h;  this looks odd.

Could you show us a bit of that line?  Which version of g++ +
libstdc++-v3 are you using?

-- Gaby



More information about the Gcc mailing list