[PATCH v3 00/24] Feature test macros overhaul

Sebastian Huber sebastian.huber@embedded-brains.de
Fri Mar 18 09:28:00 GMT 2016


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.



More information about the Newlib mailing list