🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #567

scoping bug in gcc 1.35

#567
From: Robert Gray
Date: Sat, 02 Sep 1989 01:54
22 lines
889 bytes
I believe that the following is legal:

typedef float argc;
main(argc,argv)
{}


chekov{bob}134: gcc scope10.c
scope10.c:2: parse error before `argv'

chekov{bob}140: cat config.status
Links are now set up for use with a vax.

Running under a SUN 3/75 OS3.3

If both formal parameters are typedef'd, then it compiles OK.

Bob Gray  (bob@boulder.colorado.edu)
                Computer Science Dept 430
                University of Colorado
                Boulder Co 80309-0430
                (303) 492-5043
Technical Details
Message-ID: <8909020154.AA03196@chekov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!BOULDER.COLORADO.EDU!bob

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!BOULDER.COLORADO.EDU!bob
From: bob@BOULDER.COLORADO.EDU (Robert Gray)
Newsgroups: gnu.gcc.bug
Subject: scoping bug in gcc 1.35
Message-ID: <8909020154.AA03196@chekov>
Date: 2 Sep 89 01:54:44 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 22