Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site utah-gr.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!utah-cs!utah-gr!donn From: donn@utah-gr.UUCP (Donn Seeley) Newsgroups: net.bugs.4bsd Subject: Re: Bug in cc(1), doesn't catch syntax error Message-ID: <1642@utah-gr.UUCP> Date: Sun, 8-Dec-85 23:34:40 EST Article-I.D.: utah-gr.1642 Posted: Sun Dec 8 23:34:40 1985 Date-Received: Tue, 10-Dec-85 07:20:10 EST References: <167@winston.UUCP> Organization: University of Utah CS Dept Lines: 22 From: wolfe@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@utah-cs.arpa 40 46' 6"N 111 50' 34"W (801) 581-5668 decvax!utah-cs!donn