X-Authentication-Warning: delorie.com: mailnull set sender to pgcc-bounces using -f Date: Thu, 28 Mar 2002 21:01:18 +0100 From: Sebastian Ude To: tpg AT umich DOT edu Cc: pgcc AT delorie DOT com Subject: Re: struct streampos compile error In-Reply-To: <3CA36211.AAEEB001@umich.edu> References: <3CA36211 DOT AAEEB001 AT umich DOT edu> X-Mailer: Spruce 0.7.6 for X11 w/smtpio 0.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-Id: <20020328200113.AE9C711CD34@smtp.de.easynet.net> Reply-To: pgcc AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 28 Mar 2002, tpg AT umich DOT edu (Terry Gliedt) wrote: > Date: Thu, 28 Mar 2002 13:33:53 -0500 > To: pgcc AT delorie DOT com > From: tpg AT umich DOT edu (Terry Gliedt) > Reply-To: pgcc AT delorie DOT com > Subject: struct streampos compile error > > Note, I am **not** on your mailing list, so please also reply directly to > me. Thanks No problem. I sent a CC to the list nevertheless. > /home/tpg/src/gcc-2.95.2/gcc/xgcc -B/home/tpg/src/gcc-2.95.2/gcc/ > -B/usr/local/pgcc/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks > -D_GNU_SOURCE > -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO indstream.cc > indstream.cc: In method `struct streampos indirectbuf::seekoff(long long > int, > ios::seek_dir, int = 3)': > indstream.cc:82: `struct streampos' used where a `int' was expected > indstream.cc:85: `struct streampos' used where a `int' was expected > indstream.cc:87: `struct streampos' used where a `int' was expected > indstream.cc:89: conversion from `int' to non-scalar type `streampos' > requested [...] This is a known icompatibility with gcc 2.95.2 and recent glibc versions. There is a patch that fixes this issue: http://gcc.gnu.org/install/glibc-2.2.patch It can be applied before or after applying the PGCC patch. - Sebastian