>>>>> "Ben" == Ben Collins <[EMAIL PROTECTED]> writes:

    Ben> By default, __USE_GNU is defined. If you want to define it

(perhaps you meant "...is undefined"???)

    Ben> explicitly, then use -D_GNU_SOURCE in your CFLAGS.

It doesn't seem to be the case here:

> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -g -O2 -Wall -c -o main.o 
> main.c        
main.c: In function `xmlparse_file':
main.c:14: warning: implicit declaration of function `asprintf'


>gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -g -O2 -D_GNU_SOURCE -Wall -c 
>-o main.o main.c
[no warnings]

So it looks like I have to define _GNU_SOURCE explicitly in order to
get rid of the warning.
-- 
Brian May <[EMAIL PROTECTED]>

Reply via email to