Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 12:53:33 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Wesley Morgan <morganw@chemikals.org>
Cc:        Alex Zepeda <zipzippy@sonic.net>, current@FreeBSD.ORG
Subject:   Re: KDE 3.0 broken in current??
Message-ID:  <3DA5DABD.7AB0A184@mindspring.com>
References:  <20021010100330.S37189-100000@volatile.chemikals.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA5DABD.7AB0A184>