🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2365

Re: GCC bug

#2365
From: Gordon Joly Statistics UCL
Date: Thu, 09 Mar 1989 14:30
30 lines
1330 bytes
| ststic	int	iii();
| syntax error;
| main()
| {
| 	printf ("hello\n");
| 	second syntax error
| }
| 
| The compiler just stops compiling and reporting error messages
| after the ststic line, whenever I put it.
| The output of the compiler under the -v option is:
| (the -ansi flag does not matter.)
| 
| gcc -ansi foo.c -v
| gcc version 1.31
|  /usr/local/lib/gcc-cpp -v -undef -D__GNU__ -D__GNUC__ -T -$ -D__STRICT_ANSI__ -
| GNU CPP version 1.31
|  /usr/local/lib/gcc-cc1 /tmp/cca00754.cpp -quiet -dumpbase foo.c -ansi -version
| GNU C version 1.31 (68k, MIT syntax) compiled by GNU C version 1.31.
|  as -mc68020 /tmp/cca00754.s -o foo.o
|  ld /lib/crt0.o /lib/Mcrt1.o foo.o /usr/local/lib/gcc-gnulib -lc
| Undefined:
| _main
| 

Due to an old version of bison? Note: also seen in G++.
I echo the plea for BISON to have a version number.
Gordon.
 
Technical Details
Message-ID: <8903091640.AA04295@prep.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!NSS.CS.UCL.AC.UK!gordon%stats.ucl.ac.uk
References: <8903091103.AA19818@humus.Huji.AC.IL>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!NSS.CS.UCL.AC.UK!gordon%stats.ucl.ac.uk
From: gordon%stats.ucl.ac.uk@NSS.CS.UCL.AC.UK (Gordon Joly Statistics UCL)
Newsgroups: gnu.gcc.bug
Subject: Re: GCC bug
Message-ID: <8903091640.AA04295@prep.ai.mit.edu>
Date: 9 Mar 89 14:30:30 GMT
References: <8903091103.AA19818@humus.Huji.AC.IL>
Sender: bob@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 30