From owner-freebsd-current Thu Oct 10 12:54:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5156F37B401 for ; Thu, 10 Oct 2002 12:54:53 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F6043EB1 for ; Thu, 10 Oct 2002 12:54:52 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0397.cvx21-bradley.dialup.earthlink.net ([209.179.193.142] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17zjOO-0001ga-00; Thu, 10 Oct 2002 12:54:45 -0700 Message-ID: <3DA5DABD.7AB0A184@mindspring.com> Date: Thu, 10 Oct 2002 12:53:33 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Wesley Morgan Cc: Alex Zepeda , current@FreeBSD.ORG Subject: Re: KDE 3.0 broken in current?? References: <20021010100330.S37189-100000@volatile.chemikals.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wesley Morgan wrote: > On Wed, 9 Oct 2002, Alex Zepeda wrote: > > I'm quite suprised how this managed to avoid detection for so long > > (webcvs.kde.org indicated that the last commit to this branch was > 12 > > months ago). It's that whole feeling of fixing the same problems over and > > over again. > > Most likely this is a problem that was uncovered by some change in our > headers. I've seen a lot of commits come down the pipes removing > "unneeded" includes from one header or another... Which of course is the > correct thing to do and it encourages better coding practices to make > people put headers in the right order. There are two issues. The first is that in order to be POSIX 1003.1-2001 compliant, we have to get rid of some promiscuous includes that are remaining. The second is that in order to be POSIX 1003.1-2001 compliant, some headers are required to define their own types for use in structure declarations. This is like the move from Draft 4 pthreads conformance to standard pthreads conformance, which defined PTHREAD_MTEX_INITIALIZER, but didn't make the rest of the required conformance changes at the same time: many programs (e.g. OpenLDAP) used PTHREAD_MUTEX_INITIALIZER as one of the few manifest constants that was available to distinguish between these two implementations (other code included the Moscow center for supercomputing activities Standard Template Library, and by extension, the ACAP reference implementation). The bottom line is that it is better to be fully conformant with an old standard, than partially conformant with a new standard. It's unfortunate that these type of changes that move FreeBSD away from that maxim are going in this close to the 5.0 release date; they are likely to break a *lot* of code (IMO). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message