Re: Compiler warnings on SunOS



Pavel Roskin wrote:

Hi, Roland!

compiling mc-4.55 on SunOS raises some compiler warnings. You might want to avoid them.

. . .

charsets.c: In function `translate_character':
charsets.c:116: warning: passing arg 2 of `iconv' from incompatible pointer type

What's the declaration of iconv() on your system? glibc-2.2.4 expects char** at the second argument.
Fixed in CVS in January, 2002.  translate_character use ICONV_CONST now.
This one is declared by configure.

--
Regards,
Andrew V. Samoilov.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]