Boyd,
this is a known problem. This release handles it a little bit better
then prvious does, but is isn't still enough.
Fixing this problem is quite simple. Look into the source file. There is
a conditional part deciding if the second argument has to be typecasted
or not. Choose the right case manually and all should be OK.
This problem is caused by the change of the iconv interface. We'll try
to find a robust configuration approache.
HTH
Pavel
Boyd Lynn Gerber wrote:
> To whom it may concern,
>
> I am still having the same problem with both SCO OpenServer and UnixWare.
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c utf8.cpp -fPIC
> -DPIC -o .libs/utf8.lo
> utf8.cpp: In function `int utf8Recode(char *, const char *, Encoding)':
> utf8.cpp:274: passing `const char **' as argument 2 of `iconv(__iconv_t_
> *, char **, size_t *, char **, size_t *)' discards qualifiers
> make[2]: *** [utf8.lo] Error 1
> make[2]: Leaving directory
> `/usr/zenez/users/gerberb/build/Sablot-0.50/Sablot/engine'
>
> The problem is I cannot get away with change just this item. It ripples
> back through the code. Then other parts of the code will not compile.
>
> Thanks,
>
> --
> Boyd Gerber <[EMAIL PROTECTED]>
> ZENEZ 3748 Valley Forge Road, Magna Utah 84044
> Office 801-250-0795 FAX 801-250-7975
--
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic