This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 00/24] Feature test macros overhaul


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]