This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH v3 00/24] Feature test macros overhaul
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Fri, 18 Mar 2016 10:28:08 +0100
- Subject: Re: [PATCH v3 00/24] Feature test macros overhaul
- Authentication-results: sourceware.org; auth=none
- References: <1458011431-9460-1-git-send-email-yselkowi at redhat dot com>
I tested the Newlib with your change set. The only problem I noticed was
this:
[749/892] c: rtemsbsd/pppd/auth.c ->
build/powerpc-rtems4.12-qoriq_t4240rdb/rtemsbsd/pppd/auth.c.17.o
../../rtemsbsd/ftpd/ftpd.c:1999:1: error: conflicting types for 'daemon'
daemon(rtems_task_argument args __attribute__((unused)))
^~~~~~
In file included from
/opt/rtems-4.12/powerpc-rtems4.12/include/stdio.h:29:0,
from ../../rtemsbsd/ftpd/ftpd.c:193:
/opt/rtems-4.12/powerpc-rtems4.12/include/sys/unistd.h:37:5: note:
previous declaration of 'daemon' was here
int _EXFUN(daemon, (int nochdir, int noclose));
^
This is due to:
-#if defined(__CYGWIN__)
+#if __BSD_VISIBLE || (__XSI_VISIBLE && __XSI_VISIBLE < 500)
I fixed this in our sources.
--
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.