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]

_GLIBC_EXTENSION


Hello,

there is a _GLIBC_EXTENSION define which is used here:

grep -r _GLIBC_EXTENSION .
./newlib/ChangeLog:     systems defining _GLIBC_EXTENSION.  Support C11 'x' flag.
./newlib/ChangeLog: * libc/stdio/vfprintf.c (_VFPRINTF_R) [_GLIBC_EXTENSION]: Handle 'm' ./newlib/ChangeLog: * libc/stdio/vfwprintf.c (_VFWPRINTF_R) [_GLIBC_EXTENSION]: Ditto.
./newlib/libc/stdio/vfprintf.c:#ifdef _GLIBC_EXTENSION
./newlib/libc/stdio/vfprintf.c:#ifdef _GLIBC_EXTENSION
./newlib/libc/stdio/vfwprintf.c:#ifdef _GLIBC_EXTENSION
./newlib/libc/stdio/vfwprintf.c:#ifdef _GLIBC_EXTENSION

Who is supposed to set this define?

I would like to enable the %m format specifier for RTEMS to use a printf() function for syslog() support.

--
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]