delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/18/11:53:08

Date: Wed, 18 Feb 1998 10:20:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
cc: Michal Kaczmarek <mk AT arrakis DOT cs DOT put DOT poznan DOT pl>, djgpp AT delorie DOT com
Subject: Re: Info - problem reading about istream
In-Reply-To: <199802172122.WAA06589@acp3bf.physik.rwth-aachen.de>
Message-ID: <Pine.SUN.3.91.980218102011.8118H-100000@is>
MIME-Version: 1.0

On Tue, 17 Feb 1998, Hans-Bernhard Broeker wrote:

> > I had just installed DJGPP and tried to get to know what a function
> > of class istream do. I ran info.exe and chose:
> > iostream->index->istream::getline
> 
> It's the '::' in there that kills it. By definition of the info file
> format, Menu entries (and maybe node names as well, can't remember...)
> are *not* allowed to contain the character ':'.

This is a bug in the libiostream docs.  Texinfo handles `:' specially,
so that this character cannot appear in any name used for navigating
the docs (node names, cross-references and menu items).  I complained
about these cases several years ago and got a reply from Richard
Stallman himself telling me that he asked the maintainers to correct
this.

The problem is that we are still using an old version of libg++.
As far as I can see, libstdc++ 2.8.0 doesn't have these problems in
its docs.

> > The program said:
> > Istream: No such file or directory [ENOENT]
> 
> I'm guessing here, but I think this because it saw 'istream::getline'
> and thought you wanted to open a file on drive 'Istream:' :-)

No, it just interpreted "Istream:" as a file name and tried to open
it.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019