Article View: gnu.gcc.bug
Article #1441gcc 2.2, VMS stdio.h missing fpos_t typedef
From: Roland B Roberts
Date: Fri, 20 Nov 1992 22:17
Date: Fri, 20 Nov 1992 22:17
27 lines
1094 bytes
1094 bytes
The following is a patch for the VMS <stdio.h> which is missing the
typedef for fpos_t.
Ideally, shouldn't the header have ANSI prototypes as well? If this is
desireable, I can work on it.
roland
% diff -c stdio.h;-1 stdio.h
*** stdio.h;-1
--- stdio.h
**************
*** 39,44
* passes around pointers to pointers.
*/
typedef struct _iobuf *FILE;
/*
* Also, stdin/stdout/stderr need to be defined
--- 39,45 -----
* passes around pointers to pointers.
*/
typedef struct _iobuf *FILE;
+ typedef struct {unsigned : 32; unsigned : 32;} fpos_t;
/*
* Also, stdin/stdout/stderr need to be defined
Technical Details
Message-ID:
<00963E80.2B519020.19970@nsrl31.nsrl.rochester.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!nsrl31.nsrl.rochester.edu!robertsShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!nsrl31.nsrl.rochester.edu!roberts From: roberts@nsrl31.nsrl.rochester.edu (Roland B Roberts) Subject: gcc 2.2, VMS stdio.h missing fpos_t typedef Message-ID: <00963E80.2B519020.19970@nsrl31.nsrl.rochester.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Fri, 20 Nov 1992 22:17:50 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 28