This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: streambuf.h incompatible after glibc 2.1.96 install. Please advise.
- To: <rbarnett at usc dot edu>, libc-alpha at sources dot redhat dot com
- Subject: Re: streambuf.h incompatible after glibc 2.1.96 install. Please advise.
- From: Bruno Haible <haible at ilog dot fr>
- Date: Tue, 31 Oct 2000 21:44:29 +0100 (CET)
- References: <200010312012.MAA17592@we-24-167-139-55.we.mediaone.net>
> After installing glibc 2.1.96, I can no longer compile C++ programs that use
> the standard template library
> ...
> streambuf.h: In method `struct streampos streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
> streambuf.h:362: conversion from `__off64_t' to non-scalar type `streampos' requested
> streambuf.h: In method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)':
> streambuf.h:364: `struct streampos' used where a `long long int' was expected
> streambuf.h:364: warning: control reaches end of non-void function `streambuf::pubseekpos(_G_fpos64_t, int)'
After installing glibc-2.1.9x, you need to apply a small patch for C++,
by Jakub Jelinek. See step 2 in the installation instructions
http://clisp.cons.org/~haible/glibc22install-HOWTO.html
Bruno