This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Divergence from BSD sources, e.g. __GNUC_PREREQ()
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Thu, 04 Apr 2013 11:08:27 +0200
- Subject: Re: Divergence from BSD sources, e.g. __GNUC_PREREQ()
- References: <515D32D1 dot 7080804 at embedded-brains dot de> <515D3E1C dot 8000107 at rtems dot org>
On 04/04/2013 10:47 AM, Ralf Corsepius wrote:
That said, I am against adopting it, because "FreeBSD sys/queue.h" has a
history FreeBSD changing it ad-lib, which means any attempt to provide FreeBSD
compatibility will fail in longer terms.
Did you look at the actual differences?
The current FreeBSD <sys/queue.h> is with one exception backward compatible to
the current Newlib <sys/queue.h>, but has more macros, e.g. TAILQ_SWAP(),
STAILQ_FOREACH_SAFE(), etc.
FreeBSD removed STAILQ_REMOVE_HEAD_UNTIL() 14 years ago, but we can keep it as
a Newlib goodie.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschÃftliche Mitteilung im Sinne des EHUG.