On 11/12/2013 08:13 PM, Joel Sherrill wrote:
_GNU_SOURCE is transformed into multiple other defines in features.h in glibc. #ifdef _GNU_SOURCE # define __USE_GNU 1 #endif Our sys/features.h does not have the comparable ifdef. We are likely missing others as it turns on about ten other feature flags in the glibc features.h. I guess we need to follow this pattern and add _GNU_SOURCE to our sys/features.h. The others need another round of thought.
Another option would be to add this to the Newlib <sys/cdefs.h> since here we already have defines related to _POSIX_SOURCE etc. Here we should use __GNU_VISIBLE to be in line with the BSD names.
-- 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.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel