Bug in cc(1), doesn't catch syntax error

Donn Seeley donn at utah-gr.UUCP
Mon Dec 9 14:34:40 AEST 1985


	From: wolfe at winston.UUCP (Peter Wolfe)

	cc(1) will generate incorrect code if you declare a forward
	reference and inadvertantly have an argument inside the ().
	...

When I compile your example, the 4.3 BSD compiler says:

------------------------------------------------------------------------
foo.c, line 1: illegal argument
------------------------------------------------------------------------

	... Probably this will all be fixed when pcc gets its ANSI
	standard upgrade?

What 'ANSI standard upgrade'?  It's news to me.  In fact I hadn't
heard that there was an ANSI standard yet.  (And will it be an
'upgrade' or a 'downgrade' if it arrives? :-)

Donn Seeley    University of Utah CS Dept    donn at utah-cs.arpa
40 46' 6"N 111 50' 34"W    (801) 581-5668    decvax!utah-cs!donn



More information about the Comp.bugs.4bsd.ucb-fixes mailing list