🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #538

Parsing error

#538
From: Harold Naparst
Date: Thu, 25 Apr 1991 15:09
12 lines
667 bytes
/*
Is the following program legal C++ ?
It compiles with gcc 1.39 and cc.
With g++ 1.37 it gives a parse error before the *.
*/

typedef int T;
T  (*f())();

main() {1;}

Harold Naparst (uunet!fmrco!harold)
Technical Details
Message-ID: <9104251509.AA06465@hydra.fidbp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!uunet!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!uunet!tut.cis.ohio-state.edu!unreplyable!garbage
From: fmrco!hydra!harold@UUNET.UU.NET (Harold Naparst)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: Parsing error
Message-ID: <9104251509.AA06465@hydra.fidbp.com>
Date: 25 Apr 91 15:09:03 GMT
Sender: daemon@tut.cis.ohio-state.edu
Followup-To: gnu.g++.help
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Lines: 12