This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: streambuf.h incompatible after glibc 2.1.96 install. Please advise.



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]