delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2002/03/28/13:37:41

X-Authentication-Warning: delorie.com: mailnull set sender to pgcc-bounces using -f
Sender: tpg AT sph DOT umich DOT edu
Message-ID: <3CA36211.AAEEB001@umich.edu>
Date: Thu, 28 Mar 2002 13:33:53 -0500
From: Terry Gliedt <tpg AT umich DOT edu>
Organization: Biostatistics
X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: pgcc AT delorie DOT com
Subject: struct streampos compile error
Reply-To: pgcc AT delorie DOT com

Note, I am **not** on your mailing list, so please also reply directly to me.
Thanks

System: Linux (Slackware 8.0, 2.2.19 kernel) GCC=gcc version 2.95.3 20010315
(release)

I'm pretty sure I've done this correctly. Got gcc-2.95.2 from the link, applied
the patch (gcc-2.95.2-pgcc-2.95.2.diff) without errors as documented. Did
'./configure --prefix=/usr/local/pgcc' and 'make' and eventually get this. 
What's up ??  TIA


/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
indstream.cc: In method `struct streampos indirectbuf::seekpos(_G_fpos64_t, int
= 3)':
indstream.cc:99: `struct streampos' used where a `int' was expected
indstream.cc:102: `struct streampos' used where a `int' was expected
indstream.cc:104: `struct streampos' used where a `int' was expected
indstream.cc:106: conversion from `int' to non-scalar type `streampos' requested
make[1]: *** [indstream.o] Error 1
make[1]: Leaving directory `/home/tpg/src/gcc-2.95.2/i686-pc-linux-gnu/libio'
make: *** [all-target-libio] Error 2

-- 
=============================================================
Terry Gliedt     tpg AT umich DOT edu       http://www.hps.com/~tpg/
Biostatistics, Univ of Michigan  Personal Email:  tpg AT hps DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019