Date: Mon, 28 Aug 2000 15:32:49 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: Zack Weinberg <zack@wolery.cumb.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Portability and warnings tweaks for byacc(1)'s skeleton file Message-ID: <20000828153249.H18862@fw.wintelcom.net> In-Reply-To: <20000828152835.Z17776@wolery.cumb.org>; from zack@wolery.cumb.org on Mon, Aug 28, 2000 at 03:28:35PM -0700 References: <20000828152835.Z17776@wolery.cumb.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Zack Weinberg <zack@wolery.cumb.org> [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 <malloc.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000828153249.H18862>