This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Building dejagnu with latest GCC
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc at gcc dot gnu dot org
- Date: Sat, 3 Aug 02 18:28:49 EDT
- Subject: Building dejagnu with latest GCC
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.
(I'm still looking for a pointer to the versions of tools that GCC
maintainers should be using, by the way.)
make[2]: Entering directory `/g/gcc/dejagnu-1.4.1/testsuite/libdejagnu'
Makefile:203: .deps/unit.P: No such file or directory
c++ -DPACKAGE=\"dejagnu\" -DVERSION=\"1.4.1\" -I. -I. -I../.. -g -c unit.c
c
In file included from /usr/local/include/c++/3.2/backward/strstream:51,
from ../../dejagnu.h:70,
from unit.cc:4:
/usr/local/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning T
his file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examp
les include substituting the <X> header for the <X.h> header for C++ includes, o
r <sstream> instead of the deprecated header <strstream.h>. To disable this warn
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
../../dejagnu.h:115: parse error before `(' token
../../dejagnu.h:116: `oss' undeclared (first use this function)
../../dejagnu.h:116: (Each undeclared identifier is reported only once for each
function it appears in.)
../../dejagnu.h:116: `ios' undeclared (first use this function)
../../dejagnu.h:116: parse error before `::' token
../../dejagnu.h:117: `ends' undeclared (first use this function)
../../dejagnu.h: At global scope:
../../dejagnu.h:126: 'string' is used as a type, but is not defined as a type.
../../dejagnu.h:138: type specifier omitted for parameter `string'
../../dejagnu.h:138: parse error before `)' token
../../dejagnu.h:145: `string' was not declared in this scope
../../dejagnu.h:145: parse error before `)' token
../../dejagnu.h:156: `string' was not declared in this scope
../../dejagnu.h:156: parse error before `)' token
../../dejagnu.h:167: `string' was not declared in this scope
../../dejagnu.h:167: parse error before `)' token
../../dejagnu.h:178: `string' was not declared in this scope
../../dejagnu.h:178: parse error before `)' token
../../dejagnu.h:199: ISO C++ forbids declaration of `ostream' with no type
../../dejagnu.h:199: `ostream' is neither function nor member function; cannot
be declared friend
../../dejagnu.h:199: parse error before `&' token
../../dejagnu.h:203: semicolon missing after declaration of `TestState'
../../dejagnu.h: In member function `void TestState::testrun(...)':
../../dejagnu.h:139: `b' undeclared (first use this function)
../../dejagnu.h:140: `s' undeclared (first use this function)
../../dejagnu.h: In member function `void TestState::pass(...)':
../../dejagnu.h:148: `lastmsg' undeclared (first use this function)
../../dejagnu.h:149: `cout' undeclared (first use this function)
../../dejagnu.h:149: `endl' undeclared (first use this function)
../../dejagnu.h: In member function `void TestState::pass(const char*)':
../../dejagnu.h:152: parse error before `int'
../../dejagnu.h: In member function `void TestState::fail(const char*)':
../../dejagnu.h:163: parse error before `int'
../../dejagnu.h: In member function `void TestState::untested(const char*)':
../../dejagnu.h:174: parse error before `int'
../../dejagnu.h: In member function `void TestState::unresolved(const char*)':
../../dejagnu.h:185: parse error before `int'
../../dejagnu.h: At global scope:
../../dejagnu.h:203: ISO C++ forbids defining types within return type
../../dejagnu.h:203: extraneous `int' ignored
../../dejagnu.h:203: semicolon missing after declaration of `class TestState'
../../dejagnu.h:206: parse error before `)' token
unit.cc:17: 'string' is used as a type, but is not defined as a type.
unit.cc: In function `int main(int, char**)':
unit.cc:46: ISO C++ forbids assignment of arrays
unit.cc:51: `streambuf' undeclared (first use this function)
unit.cc:51: `sb' undeclared (first use this function)
unit.cc:55: `class TestClass1' has no member named `tname'
unit.cc:57: `class TestClass1' has no member named `tname'
unit.cc:59: `class TestClass1' has no member named `tname'
unit.cc:64: ISO C++ forbids assignment of arrays
unit.cc:72: ISO C++ forbids assignment of arrays
unit.cc:75: ISO C++ forbids assignment of arrays
unit.cc:83: ISO C++ forbids assignment of arrays
unit.cc:86: ISO C++ forbids assignment of arrays
unit.cc:94: ISO C++ forbids assignment of arrays
unit.cc:97: ISO C++ forbids assignment of arrays