Re: creates incorrect iconv() prototype

2013-03-09 Thread Paul Eggert
The iconv build procedure prefers to use 'char **', but it uses 'const char **' if it detects that it's on a platform where the 'const' is needed. Evidently that part of the detection isn't working. Can you look at config.log and see what went wrong on your platform? Look for the string "for icon

getlogin and mingw

2013-03-09 Thread Andy Wingo
Hi, I am using the getlogin module. My mingw cross-compile detects the presence of getlogin, but it seems that one has to actually define _POSIX to get the declaration. However if I define _POSIX before including anything else, I get this error: CC posix.lo In file included from

creates incorrect iconv() prototype

2013-03-09 Thread Andy Wingo
Hi, When cross-compiling Guile to mingw32, I get the following warning: ../../libguile/print.c: In function 'display_string_using_iconv': ../../libguile/print.c:914:7: warning: passing argument 2 of 'rpl_iconv' from incompatible pointer type [enabled by default] In file included from ../../libgu