public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* bastring.h trouble on mips-sgi-irix5.2
@ 1997-11-10 13:47 Jeffrey A Law
  1997-11-10 16:08 ` Toon Moene
  1997-11-10 19:34 ` Kriang Lerdsuwanakij
  0 siblings, 2 replies; 5+ messages in thread
From: Jeffrey A Law @ 1997-11-10 13:47 UTC (permalink / raw)
  To: egcs

------- Forwarded Message

Received: from ahab.rutgers.edu (ahab.rutgers.edu [128.6.142.5])
	by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id GAA27054
	for <egcs@cygnus.com>; Fri, 7 Nov 1997 06:39:48 -0800 (PST)
Received: (from kate@localhost) by ahab.rutgers.edu (8.8.2/8.7.3) id JAA03502 f
or egcs@cygnus.com; Fri, 7 Nov 1997 09:41:56 -0500 (EST)
Date: Fri, 7 Nov 1997 09:41:56 -0500 (EST)
From: Kate Hedstrom <kate@ahab.Rutgers.EDU>
Message-Id: <199711071441.JAA03502@ahab.rutgers.edu>
To: egcs@cygnus.com
Subject: bastring.h trouble on mips-sgi-irix5.2

I tried a "make bootstrap-lean" on mips-sgi-irix5.2,
xxxconfig.status has --host=mips-sgi-irix5.2 --with-gnu-as --norecursion.
The build failed with:

        /d0/kate/gnu/egcs-971105/gcc/xgcc
- -B/d0/kate/gnu/egcs-971105/gcc/ -c -g -O2 -fno-implicit-templates -I.
- -I./stl -I../libio -I./../libio -nostdinc++  stdexcepti.cc
In file included from string:6,
                 from stdexcept:36,
                 from stdexcepti.cc:8:
std/bastring.h:115: parse error before `<'
std/bastring.h:116: parse error before `<'
std/bastring.h:372: syntax error before `('
std/bastring.h: In method `basic_string<charT,traits>::basic_string()':
std/bastring.h:144: class `basic_string<charT,traits>' does not have
any field named `dat'
std/bastring.h: In method
`basic_string<charT,traits>::basic_string(const class
basic_string<charT,traits> &)':
std/bastring.h:145: class `basic_string<charT,traits>' does not have
any field named `dat'

and so on.  The first two lines it complains about are:

   115    typedef ::reverse_iterator<iterator> reverse_iterator;
   116    typedef ::reverse_iterator<const_iterator> const_reverse_iterator;

Anyone know what it is complaining about?

------- End of Forwarded Message


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

* Re: bastring.h trouble on mips-sgi-irix5.2
  1997-11-10 13:47 bastring.h trouble on mips-sgi-irix5.2 Jeffrey A Law
@ 1997-11-10 16:08 ` Toon Moene
  1997-11-11  7:49   ` Jeffrey A Law
  1997-11-10 19:34 ` Kriang Lerdsuwanakij
  1 sibling, 1 reply; 5+ messages in thread
From: Toon Moene @ 1997-11-10 16:08 UTC (permalink / raw)
  To: law; +Cc: egcs

Kate wrote:

- - - - - - - - - - 8< - - - - - - - - - - - - 8< - - - - - - - - -

I tried a "make bootstrap-lean" on mips-sgi-irix5.2,
xxxconfig.status has --host=mips-sgi-irix5.2 --with-gnu-as --norecursion.
The build failed with:

        /d0/kate/gnu/egcs-971105/gcc/xgcc
- -B/d0/kate/gnu/egcs-971105/gcc/ -c -g -O2 -fno-implicit-templates -I.
- -I./stl -I../libio -I./../libio -nostdinc++  stdexcepti.cc
In file included from string:6,
                 from stdexcept:36,
                 from stdexcepti.cc:8:
std/bastring.h:115: parse error before `<'
std/bastring.h:116: parse error before `<'
std/bastring.h:372: syntax error before `('
std/bastring.h: In method `basic_string<charT,traits>::basic_string()':
std/bastring.h:144: class `basic_string<charT,traits>' does not have
any field named `dat'
std/bastring.h: In method
`basic_string<charT,traits>::basic_string(const class
basic_string<charT,traits> &)':
std/bastring.h:145: class `basic_string<charT,traits>' does not have
any field named `dat'

and so on.  The first two lines it complains about are:

   115    typedef ::reverse_iterator<iterator> reverse_iterator;
   116    typedef ::reverse_iterator<const_iterator>  
const_reverse_iterator;

- - - - - - - - - - 8< - - - - - - - - - - - - 8< - - - - - - - - -

I got exactly the same error as Kate, on m68k-next-nextstep3, after  
repairing the fact that, as distributed, egcs doesn't `fixinclude'  
the directory /NextDeveloper/Headers.

However, I do note that not everyone is reporting this error.   
Might it be that I get it because I updated egcs from egcs-971031 to  
egcs-971105 using the ...diff.gz ?  Kate ?

HTH,
Toon.

BTW: I did `./configure --prefix=/usr/test; make bootstrap'

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

* Re: bastring.h trouble on mips-sgi-irix5.2
  1997-11-10 13:47 bastring.h trouble on mips-sgi-irix5.2 Jeffrey A Law
  1997-11-10 16:08 ` Toon Moene
@ 1997-11-10 19:34 ` Kriang Lerdsuwanakij
  1 sibling, 0 replies; 5+ messages in thread
From: Kriang Lerdsuwanakij @ 1997-11-10 19:34 UTC (permalink / raw)
  To: egcs; +Cc: kate

I got the same problem yesterday.  I solved it by deleting all empty
files in the libstdc++ directory (such as 'iterator', 'vector', etc.). 
'patch' didn't delete old files that are no longer part of the 971105
snapshot.

Kriang

Jeffrey A Law wrote:
> 
> ------- Forwarded Message
> 
> Received: from ahab.rutgers.edu (ahab.rutgers.edu [128.6.142.5])
>         by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id GAA27054
>         for <egcs@cygnus.com>; Fri, 7 Nov 1997 06:39:48 -0800 (PST)
> Received: (from kate@localhost) by ahab.rutgers.edu (8.8.2/8.7.3) id JAA03502 f
> or egcs@cygnus.com; Fri, 7 Nov 1997 09:41:56 -0500 (EST)
> Date: Fri, 7 Nov 1997 09:41:56 -0500 (EST)
> From: Kate Hedstrom <kate@ahab.Rutgers.EDU>
> Message-Id: <199711071441.JAA03502@ahab.rutgers.edu>
> To: egcs@cygnus.com
> Subject: bastring.h trouble on mips-sgi-irix5.2
> 
> I tried a "make bootstrap-lean" on mips-sgi-irix5.2,
> xxxconfig.status has --host=mips-sgi-irix5.2 --with-gnu-as --norecursion.
> The build failed with:
> 
>         /d0/kate/gnu/egcs-971105/gcc/xgcc
> - -B/d0/kate/gnu/egcs-971105/gcc/ -c -g -O2 -fno-implicit-templates -I.
> - -I./stl -I../libio -I./../libio -nostdinc++  stdexcepti.cc
> In file included from string:6,
>                  from stdexcept:36,
>                  from stdexcepti.cc:8:
> std/bastring.h:115: parse error before `<'
> std/bastring.h:116: parse error before `<'
> std/bastring.h:372: syntax error before `('
> std/bastring.h: In method `basic_string<charT,traits>::basic_string()':
> std/bastring.h:144: class `basic_string<charT,traits>' does not have
> any field named `dat'
> std/bastring.h: In method
> `basic_string<charT,traits>::basic_string(const class
> basic_string<charT,traits> &)':
> std/bastring.h:145: class `basic_string<charT,traits>' does not have
> any field named `dat'
> 
> and so on.  The first two lines it complains about are:
> 
>    115    typedef ::reverse_iterator<iterator> reverse_iterator;
>    116    typedef ::reverse_iterator<const_iterator> const_reverse_iterator;
> 
> Anyone know what it is complaining about?
> 
> ------- End of Forwarded Message

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

* Re: bastring.h trouble on mips-sgi-irix5.2
  1997-11-10 16:08 ` Toon Moene
@ 1997-11-11  7:49   ` Jeffrey A Law
  0 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1997-11-11  7:49 UTC (permalink / raw)
  To: Toon Moene, Kate Hedstrom; +Cc: egcs

  In message < 9711102343.AA01932@moene.indiv.nluug.nl >you write:
  > I got exactly the same error as Kate, on m68k-next-nextstep3, after  
  > repairing the fact that, as distributed, egcs doesn't `fixinclude'  
  > the directory /NextDeveloper/Headers.
  > 
  > However, I do note that not everyone is reporting this error.   
  > Might it be that I get it because I updated egcs from egcs-971031 to  
  > egcs-971105 using the ...diff.gz ?  Kate ?
Look for any zero length files in libio/libstdc++ -- some stuff got
moved around.  Maybe you're accidentally picking up a file that was
deleted in the distribution, but because you used "patch" to update
maybe it's just zero length (instead of deleted).


Jeff

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

* Re: bastring.h trouble on mips-sgi-irix5.2
@ 1997-11-11  6:24 Kate Hedstrom
  0 siblings, 0 replies; 5+ messages in thread
From: Kate Hedstrom @ 1997-11-11  6:24 UTC (permalink / raw)
  To: egcs, lerdsuwa

> > std/bastring.h:115: parse error before `<'

> I got the same problem yesterday.  I solved it by deleting all empty
> files in the libstdc++ directory (such as 'iterator', 'vector', etc.).
> 'patch' didn't delete old files that are no longer part of the 971105
> snapshot.

Thanks!  That fixed it.  My husband suggested that it might be from
using the patch files and I said, no, because it behaved on the Sun.
It looks like patch on the Sun deleted those files.  The Sun has a new
gnu version of patch while the other systems have the old friendly,
verbose version.  Time to upgrade patch ...

Kate

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

end of thread, other threads:[~1997-11-11  7:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-10 13:47 bastring.h trouble on mips-sgi-irix5.2 Jeffrey A Law
1997-11-10 16:08 ` Toon Moene
1997-11-11  7:49   ` Jeffrey A Law
1997-11-10 19:34 ` Kriang Lerdsuwanakij
1997-11-11  6:24 Kate Hedstrom

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