Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2001 15:51:15 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Mark Murray <markm@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
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
Message-ID:  <20011204153439.U6754-100000@gamplex.bde.org>
In-Reply-To: <Pine.NEB.3.96L.1011203161136.37476G-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/cdefs.h> to declare prototypes using __P).
Then it was broken in rev.1.6 of defs.h. etc. (#include <err.h> to
use the err() family).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011204153439.U6754-100000>