[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect definition of fpos_t ?
From: |
Andreas Jaeger |
Subject: |
Re: Incorrect definition of fpos_t ? |
Date: |
Fri, 19 Apr 2002 21:34:32 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux) |
"Pennifold, John R" <address@hidden> writes:
> Hi ,
> I'm running Red Hat Linux 7.2 and am trying to port some C programs from
> DG/UX. I'm hitting a problem with a seemingly incorrect definition (via
> stdio.h to _G_config.h) at the compile phase. In other Unix systems fpos_t
> is *long, but in this version it's a structure (_G_fpos_t). I've found lots
> of postings and messages concerning this problem in the past but I can't
> find a solution. RH7.2 incorporates glibc 2.2.4 and gcc 2.96. Can you
> help?
Check the Posix standard, fpos_t is an opaque type and does not need
to be *long. If your program depends on this, it's broken and I
suggest to fix it,
Andreas
--
Andreas Jaeger
SuSE Labs address@hidden
private address@hidden
http://www.suse.de/~aj