Glibc 2.2

Ainsley Pereira marble at linuxfromscratch.org
Sun Nov 12 08:26:48 PST 2000


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

~A.

-- 
 -----------------------------------------------------------
   / Ainsley Pereira       /   aka Marble on Snowplains   /
  /                       / telnet://snowplains.org:3456 /
 ------------------------------------------------------------

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