Mail Archives: djgpp/1998/02/18/11:53:08
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 -