On Thu, Jan 15, 2004 at 04:51:48PM +0300, Alexander V. Lukyanov wrote: > I understand the reason. An autoconf test should be written to determine the iconv > prototype and depending on that test a const cast should be used.
I have found that AM_ICONV macro from gettext does the job and defines ICONV_CONST to const if the const is needed. So the cast become (ICONV_CONST char**)&put_buf -- Alexander. | http://www.yars.free.net/~lav/
