Boyd Lynn Gerber <[EMAIL PROTECTED]> writes:
> To whom it may concern:
>
> I get the following errorw with the SCO C++ or gcc on the utf8.cpp
This is the problem I originally reported with glibc 2.1.9x (or
whatever is on RHAT7). Was it fixed in CVS only, or? Boyd, for now you
can could simply remove the const part of the second argument to
utf8Recode.
> c++ -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:273: 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/src/Sablot/engine'
> make[1]: *** [all-recursive] Error 1
>
> or
>
> make[2]: Entering directory `/usr/zenez/users/gerberb/build/src/Sablot/engine'
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../autocfg
> -g -O2 -c utf8.cpp
> rm -f .libs/utf8.lo
> 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:273: passing `const char **' as argument 2 of `iconv(__iconv_t_ *, char
> **, size_t *, char **, size_t *)' discards qualifiers
> make[2]: *** [utf8.lo] Error 1
--
[ Below is a random fortune, which is unrelated to the above message. ]
One Bell System - it works.