Path: 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 Date: Thu, 20 Apr 89 21:50:28 EDT From: "Robert S. French" 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