[Ltrace-devel] [PATCH] Define _POSIX_C_SOURCE instead of _GNU_SOURCE to get open_memstream

Petr Machata pmachata at redhat.com
Fri Nov 23 14:42:51 UTC 2012


"Edgar E. Iglesias" <edgar.iglesias at gmail.com> writes:
> This is what I get with the freetz toolchain:

[...]

> output.c:626: error: implicit declaration of function 'open_memstream'
> output.c:626: error: initialization makes pointer from integer without
> a cast

Hmm, so setting _POSIX_C_SOURCE is not enough for uClibc.  I'll leave it
at _GNU_SOURCE then.

Thank you,
PM



More information about the Ltrace-devel mailing list