Article View: gnu.bash.bug
Article #934Re: Problems and workarounds on the Convex
From: bothner
Date: Tue, 06 Oct 1992 14:41
Date: Tue, 06 Oct 1992 14:41
20 lines
1132 bytes
1132 bytes
Convex /usr/include/stdio.h defines:
typedef struct {
int __offset[2];
} fpos_t;
Unfortunately, it is not possible for streambuf.h to use the
correct type for fpos_t in this situation, without getting
it from stdio.h - and I don't want to #include <stdio.h>
in general, for name-space reasons.
A clean solution requires some surgery:
stdio.h and streambuf.h must get fpos_t (or something
like struct __fpos_t) from the same include file - and
that include file is *not* allowed to define extraneous names!
So there is no simple, clean, correct solution.
--Per Bothner
Cygnus Support bothner@cygnus.com
Technical Details
Message-ID:
<9210070441.AA00435@rtl.cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!bothnerReferences:
<9210061416.AA03714@e91046.mpi-dortmund.mpg.de>Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!bothner From: bothner@cygnus.com Subject: Re: Problems and workarounds on the Convex Message-ID: <9210070441.AA00435@rtl.cygnus.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: <9210061416.AA03714@e91046.mpi-dortmund.mpg.de> Distribution: gnu Date: Tue, 6 Oct 1992 14:41:07 GMT Approved: bug-bash@prep.ai.mit.edu Lines: 21