From owner-cvs-all Mon Dec 3 20:51: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id C75B237B41C; Mon, 3 Dec 2001 20:50:58 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id PAA30579; Tue, 4 Dec 2001 15:50:55 +1100 Date: Tue, 4 Dec 2001 15:51:15 +1100 (EST) From: Bruce Evans X-X-Sender: To: Robert Watson Cc: Mark Murray , , Subject: Re: cvs commit: src/usr.bin/yacc closure.c error.c lalr.c lr0.c main.c mkpar.c output.c reader.c skeleton.c symtab.c verbose.c warshall.c In-Reply-To: Message-ID: <20011204153439.U6754-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 3 Dec 2001, Robert Watson wrote: > This breaks the upgrade path from systems that have pre-FBSDID includes, > as yacc is part of the build tools that are built using native system > includes. Not sure what the right solution is, but it might include one > of: > > (1) don't use FBSDID for build tools > (2) don't build build tools on non-recent FreeBSD systems > (3) provide an include stub for build tools that defines FBSDID (1) is right. Build tools should be written in Standard C. Yacc was a good example of such a tool. It was first broken in rev.1.2 of defs.h, etc. (#include to declare prototypes using __P). Then it was broken in rev.1.6 of defs.h. etc. (#include to use the err() family). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message