Date: Thu, 5 Jul 2001 12:49:45 +0200 From: Eivind Eklund <eivind@FreeBSD.org> To: Mike Smith <msmith@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys bio.h Message-ID: <20010705124945.A31785@FreeBSD.org> In-Reply-To: <200107050607.f6567Vx00615@mass.dis.org>; from msmith@FreeBSD.org on Wed, Jul 04, 2001 at 11:07:31PM -0700 References: <20010704212624.A1812@schweikhardt.net> <200107050607.f6567Vx00615@mass.dis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 04, 2001 at 11:07:31PM -0700, Mike Smith wrote: > Regardless, the above is both legal and desirable. uintptr_t is an > arbitrary scalar type large enough to hold both an unsigned integer and a > pointer on the platform. This is not the same as being able to use a void * to pass an integer. If we want to limit FreeBSD to platforms where void * can hold integers for increased coding convenience, we can do that - but that should be discussed and documented. As it is, the basic most of us try to follow is C89 unless we really need to violate it. > Most of the rest of the drivel you offer up is laughable, given that > you're writing a floppy disk driver, for crying out loud. (A) You are insulting another of our contributors for no good reason. Please keep civil. (B) I've had quite a bit of headache due to your non-C89 hacks when running static analysis on the kernel. Maybe more than you saved by using them, maybe less. Assuming that non-compliant hacks are OK *do* have a cost for the project, though, so please avoid encouraging people to be careless about them. Eivind. 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?20010705124945.A31785>