public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Building dejagnu with latest GCC
@ 2002-08-03 15:29 Richard Kenner
  2002-08-03 15:42 ` Gabriel Dos Reis
  2002-08-05 12:08 ` Mike Stump
  0 siblings, 2 replies; 19+ messages in thread
From: Richard Kenner @ 2002-08-03 15:29 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-03 15:29 Building dejagnu with latest GCC Richard Kenner
@ 2002-08-03 15:42 ` Gabriel Dos Reis
  2002-08-05 12:08 ` Mike Stump
  1 sibling, 0 replies; 19+ messages in thread
From: Gabriel Dos Reis @ 2002-08-03 15:42 UTC (permalink / raw)
  To: Richard Kenner; +Cc: gcc

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-03 15:29 Building dejagnu with latest GCC Richard Kenner
  2002-08-03 15:42 ` Gabriel Dos Reis
@ 2002-08-05 12:08 ` Mike Stump
  1 sibling, 0 replies; 19+ messages in thread
From: Mike Stump @ 2002-08-05 12:08 UTC (permalink / raw)
  To: Richard Kenner; +Cc: gcc

On Saturday, August 3, 2002, at 03:28 PM, Richard Kenner wrote:

> I'm trying to recreate my tool environment, but I get the follow.

rm -rf the subdirectory (the one with unit.cc), or use the previous 
version of Dejagnu (1.4), or complain to rob (the dejagnu people) , or 
...
Sometimes life is just too short.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-03 23:09 ` Tim Prince
@ 2002-08-04 10:32   ` John David Anglin
  0 siblings, 0 replies; 19+ messages in thread
From: John David Anglin @ 2002-08-04 10:32 UTC (permalink / raw)
  To: tprince; +Cc: gcc, kenner

> I thought the thread was about how new a version of gcc could be used.  1.4 
> appears to require libstdc++-v2, so we're requiring an older gcc to build the 
> test framework for the current gcc.

I just built it on hppa-linux 3.3 20020802 (experimental).  The testsuite
results seem about the same as with building with 3.0.4.  You don't need
g++ for the build.  I can't comment on the libstdc++-v2 requirement.
1.4.0 is currently the version supplied with debian linux and it's the
one that I have had the best success with.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-04  7:43 ` Fergus Henderson
@ 2002-08-04  7:50   ` Gabriel Dos Reis
  0 siblings, 0 replies; 19+ messages in thread
From: Gabriel Dos Reis @ 2002-08-04  7:50 UTC (permalink / raw)
  To: Fergus Henderson; +Cc: Richard Kenner, gcc

Fergus Henderson <fjh@cs.mu.OZ.AU> writes:

| On 04-Aug-2002, Richard Kenner <kenner@vlsi1.ultra.nyu.edu> wrote:
| >     Does -fpermissive help?
| > 
| > I can't figure out how to add it except by modifying the Makefile, but when
| > I do, it *appears* to help, since it looks like it's changing errors
| > into warnings, but the command still fails.  I'm not sure why, though, since
| > the error message output is confusing:
| 
| I agree, the output *is* confusing.  It would be nicer if gcc would
| prefix error messages with "error:" (like it prefixes warning messages
| with "warning:").  

That is what happens with mainline sources.

-- Gaby

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-04  4:28 Richard Kenner
  2002-08-04  4:46 ` Gabriel Dos Reis
@ 2002-08-04  7:43 ` Fergus Henderson
  2002-08-04  7:50   ` Gabriel Dos Reis
  1 sibling, 1 reply; 19+ messages in thread
From: Fergus Henderson @ 2002-08-04  7:43 UTC (permalink / raw)
  To: Richard Kenner; +Cc: gcc

On 04-Aug-2002, Richard Kenner <kenner@vlsi1.ultra.nyu.edu> wrote:
>     Does -fpermissive help?
> 
> I can't figure out how to add it except by modifying the Makefile, but when
> I do, it *appears* to help, since it looks like it's changing errors
> into warnings, but the command still fails.  I'm not sure why, though, since
> the error message output is confusing:

I agree, the output *is* confusing.  It would be nicer if gcc would
prefix error messages with "error:" (like it prefixes warning messages
with "warning:").  This would make it easier to spot errors in cases such
as this one where an error is mixed with a bunch of warnings.

> 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 -fpermiss
> ive -c unit.cc
> 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.
> unit.cc: In function `int main(int, char**)':
> unit.cc:46: warning: ISO C++ forbids assignment of arrays
> /usr/local/include/c++/3.2/streambuf:416: `std::basic_streambuf<_CharT,
>    _Traits>* std::basic_streambuf<_CharT, _Traits>::setbuf(_CharT*, long int)
>    [with _CharT = char, _Traits = std::char_traits<char>]' is protected
> unit.cc:53: within this context
> unit.cc:64: warning: ISO C++ forbids assignment of arrays
> unit.cc:72: warning: ISO C++ forbids assignment of arrays
> unit.cc:75: warning: ISO C++ forbids assignment of arrays
> unit.cc:83: warning: ISO C++ forbids assignment of arrays
> unit.cc:86: warning: ISO C++ forbids assignment of arrays
> unit.cc:94: warning: ISO C++ forbids assignment of arrays
> unit.cc:97: warning: ISO C++ forbids assignment of arrays
> make[2]: *** [unit.o] Error 1
> make[2]: Leaving directory `/g/gcc/dejagnu-1.4.1/testsuite/libdejagnu'

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-04  5:07 Richard Kenner
@ 2002-08-04  5:22 ` Gabriel Dos Reis
  0 siblings, 0 replies; 19+ messages in thread
From: Gabriel Dos Reis @ 2002-08-04  5:22 UTC (permalink / raw)
  To: Richard Kenner; +Cc: gcc

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

[...]

| There really should be some web page capturing all this and giving
| the versions of tools that are needed.

Yeah, you're right.  

I'll try to grab dejagnu-cvs and whether the problem is still there
and if so send a patch. 

Thanks,

-- Gaby

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
@ 2002-08-04  5:07 Richard Kenner
  2002-08-04  5:22 ` Gabriel Dos Reis
  0 siblings, 1 reply; 19+ messages in thread
From: Richard Kenner @ 2002-08-04  5:07 UTC (permalink / raw)
  To: gdr; +Cc: gcc

    Kenner, please could try to replace

        sb->setbuf(bbuuff, 5120);

    with

        sb->pubsetbuf(bbuuff, 5120);

    and report what happens?

That does it.  Thanks.

There really should be some web page capturing all this and giving
the versions of tools that are needed.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-04  4:28 Richard Kenner
@ 2002-08-04  4:46 ` Gabriel Dos Reis
  2002-08-04  7:43 ` Fergus Henderson
  1 sibling, 0 replies; 19+ messages in thread
From: Gabriel Dos Reis @ 2002-08-04  4:46 UTC (permalink / raw)
  To: Richard Kenner; +Cc: jason, gcc

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

[...]

| /usr/local/include/c++/3.2/streambuf:416: `std::basic_streambuf<_CharT,
|    _Traits>* std::basic_streambuf<_CharT, _Traits>::setbuf(_CharT*, long int)
|    [with _CharT = char, _Traits = std::char_traits<char>]' is protected
| unit.cc:53: within this context

Changing setbuf to pusetbuf solves this one.

| unit.cc:64: warning: ISO C++ forbids assignment of arrays

But, I can't solve this one in one line.

Here are the definitions that are flagged:

   // somewhere in dejagnu.h
  char *outstate[] = {
      "FAILED: ",
      "PASSED: ",
      "UNTESTED: ",
      "UNRESOLVED: "
  };


   // somewhere in unit.cc
   char *os1[] = {
       "FAI: ",
       "PAS: ",
       "UNT: ",
       "UNR: "
   };

   char *os2[] = {
       "FAILED: ",
       "PASSED: ",
       "UNTESTED: ",
       "UNRESOLVED: "
   };

   int
   main (int argc, char *argv[]) {
       regex_t regex_pat;

   //    char **os2 = outstate;
       outstate = os1;


Array assignment aren't even valid in C.

-- Gaby

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-04  4:04 ` Jason Merrill
@ 2002-08-04  4:31   ` Gabriel Dos Reis
  0 siblings, 0 replies; 19+ messages in thread
From: Gabriel Dos Reis @ 2002-08-04  4:31 UTC (permalink / raw)
  To: Jason Merrill; +Cc: Richard Kenner, gcc

Jason Merrill <jason@redhat.com> writes:

| Does -fpermissive help?

Hi,

  -fpermissive doesn't help for the accessibility problem 

  /usr/local/include/c++/3.2/streambuf:416: `std::basic_streambuf<_CharT,
     _Traits>* std::basic_streambuf<_CharT, _Traits>::setbuf(_CharT*, long int)
     [with _CharT = char, _Traits = std::char_traits<char>]' is protected
  unit.cc:53: within this context

The piece of code incrimintated is:

    streambuf *sb =  cout.rdbuf();
    char bbuuff[5120];
    sb->setbuf(bbuuff, 5120);

streambuf::setbuf() is protected and is there only for derived
classes. For public use, the right function is streambuf::pubsetbuf().
Kenner, please could try to replace

    sb->setbuf(bbuuff, 5120);

with

    sb->pubsetbuf(bbuuff, 5120);

and report what happens?

Thanks,

-- Gaby

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
@ 2002-08-04  4:28 Richard Kenner
  2002-08-04  4:46 ` Gabriel Dos Reis
  2002-08-04  7:43 ` Fergus Henderson
  0 siblings, 2 replies; 19+ messages in thread
From: Richard Kenner @ 2002-08-04  4:28 UTC (permalink / raw)
  To: jason; +Cc: gcc

    Does -fpermissive help?

I can't figure out how to add it except by modifying the Makefile, but when
I do, it *appears* to help, since it looks like it's changing errors
into warnings, but the command still fails.  I'm not sure why, though, since
the error message output is confusing:

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 -fpermiss
ive -c unit.cc
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.
unit.cc: In function `int main(int, char**)':
unit.cc:46: warning: ISO C++ forbids assignment of arrays
/usr/local/include/c++/3.2/streambuf:416: `std::basic_streambuf<_CharT,
   _Traits>* std::basic_streambuf<_CharT, _Traits>::setbuf(_CharT*, long int)
   [with _CharT = char, _Traits = std::char_traits<char>]' is protected
unit.cc:53: within this context
unit.cc:64: warning: ISO C++ forbids assignment of arrays
unit.cc:72: warning: ISO C++ forbids assignment of arrays
unit.cc:75: warning: ISO C++ forbids assignment of arrays
unit.cc:83: warning: ISO C++ forbids assignment of arrays
unit.cc:86: warning: ISO C++ forbids assignment of arrays
unit.cc:94: warning: ISO C++ forbids assignment of arrays
unit.cc:97: warning: ISO C++ forbids assignment of arrays
make[2]: *** [unit.o] Error 1
make[2]: Leaving directory `/g/gcc/dejagnu-1.4.1/testsuite/libdejagnu'

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-03 17:13 Richard Kenner
@ 2002-08-04  4:04 ` Jason Merrill
  2002-08-04  4:31   ` Gabriel Dos Reis
  0 siblings, 1 reply; 19+ messages in thread
From: Jason Merrill @ 2002-08-04  4:04 UTC (permalink / raw)
  To: Richard Kenner; +Cc: gdr, gcc

Does -fpermissive help?

Jason

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-03 21:32 John David Anglin
@ 2002-08-03 23:09 ` Tim Prince
  2002-08-04 10:32   ` John David Anglin
  0 siblings, 1 reply; 19+ messages in thread
From: Tim Prince @ 2002-08-03 23:09 UTC (permalink / raw)
  To: John David Anglin, gcc; +Cc: kenner

On Saturday 03 August 2002 21:32, John David Anglin wrote:
> >>    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.
>
> Personally, I like 1.4.  I've had problems with 1.4.[12] and cvs
> versions running tests more than once, and being more restrictive
> in command line arguments.  This causes problems running some
> testsuites.  There was some previous discussion of this on the
> list a few months ago.
>
> Dave
I thought the thread was about how new a version of gcc could be used.  1.4 
appears to require libstdc++-v2, so we're requiring an older gcc to build the 
test framework for the current gcc.
-- 
Tim Prince

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
@ 2002-08-03 21:32 John David Anglin
  2002-08-03 23:09 ` Tim Prince
  0 siblings, 1 reply; 19+ messages in thread
From: John David Anglin @ 2002-08-03 21:32 UTC (permalink / raw)
  To: gcc; +Cc: kenner

>>    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.

Personally, I like 1.4.  I've had problems with 1.4.[12] and cvs
versions running tests more than once, and being more restrictive
in command line arguments.  This causes problems running some
testsuites.  There was some previous discussion of this on the
list a few months ago.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
@ 2002-08-03 17:13 Richard Kenner
  2002-08-04  4:04 ` Jason Merrill
  0 siblings, 1 reply; 19+ messages in thread
From: Richard Kenner @ 2002-08-03 17:13 UTC (permalink / raw)
  To: gdr; +Cc: gcc

    Please put this 

       using namespace std;

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

It's not line 35, but I think I know what you meant.  I get less errors,
but still get:

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.
unit.cc: In function `int main(int, char**)':
unit.cc:46: ISO C++ forbids assignment of arrays
/usr/local/include/c++/3.2/streambuf:416: `std::basic_streambuf<_CharT,
   _Traits>* std::basic_streambuf<_CharT, _Traits>::setbuf(_CharT*, long int)
   [with _CharT = char, _Traits = std::char_traits<char>]' is protected
unit.cc:53: within this context
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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-03 15:49 Richard Kenner
@ 2002-08-03 16:04 ` Gabriel Dos Reis
  0 siblings, 0 replies; 19+ messages in thread
From: Gabriel Dos Reis @ 2002-08-03 16:04 UTC (permalink / raw)
  To: Richard Kenner; +Cc: 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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
@ 2002-08-03 15:49 Richard Kenner
  2002-08-03 16:04 ` Gabriel Dos Reis
  0 siblings, 1 reply; 19+ messages in thread
From: Richard Kenner @ 2002-08-03 15:49 UTC (permalink / raw)
  To: gdr; +Cc: gcc

    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.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
  2002-08-03 15:44 Richard Kenner
@ 2002-08-03 15:48 ` Gabriel Dos Reis
  0 siblings, 0 replies; 19+ messages in thread
From: Gabriel Dos Reis @ 2002-08-03 15:48 UTC (permalink / raw)
  To: Richard Kenner; +Cc: gcc

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

|     This seems to be a dejagnu problem.  
| 
| Is there a version that can be compiled with the current GCC?

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.

-- Gaby

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: Building dejagnu with latest GCC
@ 2002-08-03 15:44 Richard Kenner
  2002-08-03 15:48 ` Gabriel Dos Reis
  0 siblings, 1 reply; 19+ messages in thread
From: Richard Kenner @ 2002-08-03 15:44 UTC (permalink / raw)
  To: gdr; +Cc: gcc

    This seems to be a dejagnu problem.  

Is there a version that can be compiled with the current GCC?

    Which version of g++ + libstdc++-v3 are you using?

The 3.2 branch as of around noon today.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2002-08-05 19:08 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-03 15:29 Building dejagnu with latest GCC Richard Kenner
2002-08-03 15:42 ` Gabriel Dos Reis
2002-08-05 12:08 ` Mike Stump
2002-08-03 15:44 Richard Kenner
2002-08-03 15:48 ` Gabriel Dos Reis
2002-08-03 15:49 Richard Kenner
2002-08-03 16:04 ` Gabriel Dos Reis
2002-08-03 17:13 Richard Kenner
2002-08-04  4:04 ` Jason Merrill
2002-08-04  4:31   ` Gabriel Dos Reis
2002-08-03 21:32 John David Anglin
2002-08-03 23:09 ` Tim Prince
2002-08-04 10:32   ` John David Anglin
2002-08-04  4:28 Richard Kenner
2002-08-04  4:46 ` Gabriel Dos Reis
2002-08-04  7:43 ` Fergus Henderson
2002-08-04  7:50   ` Gabriel Dos Reis
2002-08-04  5:07 Richard Kenner
2002-08-04  5:22 ` Gabriel Dos Reis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).