From owner-cvs-all Sat Feb 24 23:25:44 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id F2F3137B401; Sat, 24 Feb 2001 23:25:32 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f1P7PVs12297; Sat, 24 Feb 2001 23:25:31 -0800 (PST) (envelope-from dillon) Date: Sat, 24 Feb 2001 23:25:31 -0800 (PST) From: Matt Dillon Message-Id: <200102250725.f1P7PVs12297@earth.backplane.com> To: Kris Kennaway Cc: Bruce Evans , Robert Watson , Nick Sayer , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/astro/xglobe/files patch-random References: <200102250640.f1P6e0q11960@earth.backplane.com> <20010224225935.A769@mollari.cthul.hu> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :This isn't true -- as it stands now, people are writing code which :produces bad behaviour (e.g. the xglobe stars thing), or is insecure, :because they are ignoring the documentation. If we add a link-time :warning it will probably catch more software writers, and the net :result is positive. It also points out instances of possibly bad :software which FreeBSD porters and committers can address, again a :positive change. It wastes no-one's time except about 30 seconds of :mine, which I was happy to give :-) All that adding a compile-time warning will do is annoy anyone trying to use the interface legitimately. If you have a problem with a particular programmer's use of the interface, you should email that programmer. We are not responsible for programmers who ignore documentation. While it is nice to have some warnings in there, there is a limit to what we should be doing to save the programmer from himself. Many of these people aren't even using FreeBSD, so I really doubt that adding #warnings to our compilation environment will actually do what you think it will do, especially in regards to ports. People have gone overboard before... the strftime() warning, for example, is extremely annoying to me because I am using strftime() exactly the way it is documented to be used. Some overzealous bozo decided the best way to warn everyone about Y2K was to cause the compiler to spew warnings out from 2-digit years formatted with strftime(). Bah. What you are proposing here is something of the same ilk. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message