🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1881

G++ 1.34.1: Bug with function prototypes

#1881
From: Michael Tiemann
Date: Fri, 21 Apr 1989 02:57
23 lines
1039 bytes
   Date: Thu, 20 Apr 89 21:50:28 EDT
   From: "Robert S. French" <rfrench@athena.mit.edu>
   Sender: rfrench@athena.mit.edu


   The file:

	   void foo(int (*pfri)());

   causes g++ 1.34.1 to error out with:

   [ ... ]

Yes.  This is a documented lossage of GNU C++.  If you want to know
why it loses, look in g++.texinfo, and search for the string

inherently ambiguous

This phrase describes the C++ grammar, and the containing paragraph
explains why I decided to not waste time trying to deal with it.

Michael
Technical Details
Message-ID: <8904210257.AA14969@yahi.stanford.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!tiemann
References: <8904210150.AA00613@OLIVER.MIT.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!YAHI.STANFORD.EDU!tiemann
From: tiemann@YAHI.STANFORD.EDU (Michael Tiemann)
Newsgroups: gnu.g++.bug
Subject: G++ 1.34.1: Bug with function prototypes
Message-ID: <8904210257.AA14969@yahi.stanford.edu>
Date: 21 Apr 89 02:57:37 GMT
References: <8904210150.AA00613@OLIVER.MIT.EDU>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@lurch.stanford.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23