Glibc 2.2

richard at reika.demon.co.uk richard at reika.demon.co.uk
Sun Nov 12 09:58:41 PST 2000


Misquoted from Ainsley Pereira on Sun, Nov 12, 2000 at 04:26:48PM +0000:
> In message <20001112154000.A24083 at urusai.localnet.rcl>
>           richard at reika.demon.co.uk wrote:
> 
> > > Come back after ncurses -:)
> > /usr/include/g++/streambuf.h: In method `struct streampos
> > streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
> > /usr/include/g++/streambuf.h:362: conversion from `__off64_t' to non-scalar
> > type `streampos' requested
> > /usr/include/g++/streambuf.h: In method `struct streampos
> > streambuf::pubseekpos(_G_fpos64_t, int = 3)':
> > /usr/include/g++/streambuf.h:364: `struct streampos' used where a `long long
> > int' was expected
> 
> I don't actually have glibc 2.2 yet, so I looked at this with glibc 2.1 - looks
> like _IO_seekoff and _IO_seekpos changed in /usr/include/libio.h, and your gcc
> supplied headers (at least /usr/include/g++/streambuf.h) haven't been updated
> to match yet.
> 
> Either wait for a new release of gcc (supposedly not far off), grab a snapshot,
> or modify the streambuf.h yourself. (I'd tell you how, but like I said, I don't
> have glibc2.2 yet...)
> 
I have been reading the g++ known bugs web page. It looks like the g++
libraries were writted before the ISO c++ standard, so they are not
compliant. There is a project to make a compliant library. I will play
with it tonight.

If anyone else want a go, try:

http://sources.redhat.com/libstdc++/index.html
ftp://sources.redhat.com/pub/libstdc++/libstdc++-2.90.8.tar.gz
And beware of python references

Richard

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list