From owner-freebsd-hackers Mon Aug 28 15:32:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 50D2537B42C for ; Mon, 28 Aug 2000 15:32:50 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e7SMWnx23087; Mon, 28 Aug 2000 15:32:49 -0700 (PDT) Date: Mon, 28 Aug 2000 15:32:49 -0700 From: Alfred Perlstein To: Zack Weinberg Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Portability and warnings tweaks for byacc(1)'s skeleton file Message-ID: <20000828153249.H18862@fw.wintelcom.net> References: <20000828152835.Z17776@wolery.cumb.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20000828152835.Z17776@wolery.cumb.org>; from zack@wolery.cumb.org on Mon, Aug 28, 2000 at 03:28:35PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Zack Weinberg [000828 15:28] wrote: > I have noticed and corrected a number of portability problems with > byacc's generated parser, also adjusted things so that it does not > provoke a couple of gcc warnings that are not commonly requested but > that my project uses. > > More specifically: > > - stdlib.h is not available in pre-C89 environments. I made its > inclusion conditional on __STDC__ || __cplusplus, which is not > perfect but will do. Otherwise, I declare malloc and realloc by > hand. Hrm, I'm basically guessing here, but wouldn't you include in that case? Is it possible that you could file this in the PR system? thanks, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message