On Tuesday 12 February 2008, Simon Josefsson wrote:
> Mike Frysinger <[EMAIL PROTECTED]> writes:
> > the examples/, src/, and test/ subdirs explicitly include wchar.h.
>
> As far as I can tell, they don't:
>
> [EMAIL PROTECTED]:~/src/libidn$ rgrep wchar examples/* tests/* src/*
> [EMAIL PROTECTED]:~/src/libidn$
>
> Maybe you meant "implicitly"?

yes, sorry

> If so, which header file is pulling in wchar.h?

the gnulib code via the lib/idn-int.h.  for example:

bfin-linux-uclibc-gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H 
-I. -I.. -I../../libidn-1.0/src  -I../../libidn-1.0/lib -I../lib 
-I../../libidn-1.0/gl -I../gl   -g -O2 -MT 
idn.o -MD -MP -MF .deps/idn.Tpo -c -o idn.o ../../libidn-1.0/src/idn.c
In file included from ../../libidn-1.0/lib/stringprep.h:32,
                 from ../../libidn-1.0/src/idn.c:37:
../lib/idn-int.h:90:21: error: wchar.h: No such file or directory
make[1]: *** [idn.o] Error 1
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Help-libidn mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to