🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1139

Problem in gcc v2.2.2 compilation under VMS

#1139
From: Erik Talvola
Date: Mon, 14 Sep 1992 18:04
16 lines
800 bytes
GCC v2.2.2 under VAX-VMS, compiling with GCC v2.2.2

In rtl.c, ftell() is declared as:

extern long ftell();

But, in the VMS stdio.h header file, there is a definition
of ftell() as:

int ftell (FILE *file_ptr);

which causes the declaration in rtl.c to get an error message.
Either the rtl.c definition should be removed, or an #ifndef VMS
needs to be put around it.

--- Erik
Technical Details
Message-ID: <9209141804.AA15703@qin.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!qin.berkeley.edu!talvola

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!qin.berkeley.edu!talvola
From: talvola@qin.berkeley.edu (Erik Talvola)
Subject: Problem in gcc v2.2.2 compilation under VMS
Message-ID: <9209141804.AA15703@qin.Berkeley.EDU>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 14 Sep 1992 18:04:59 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 18