Ticket #802 (closed defect: Fixed)
invalid call to iconv in translate.cpp
| Reported by: | nobody | Owned by: | emostar |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | build | Version: | devel |
| Keywords: | Cc: |
Description
gcc 3.4.4 on SunOS 5.8 complains about invalid calls to iconv in translate.cpp (invalid conversion from char** to const char** in the second argument or some such error). The signature of iconv on this machine is:
size_t iconv (iconv_t cd,
const char* * inbuf, size_t *
inbytesleft,
char* * outbuf, size_t * outbytesleft);
I fixed it by casting it explictely to (const char**), but that is probably an ugly hack :-)
Edsko (edsko@…)
Change History
Note: See
TracTickets for help on using
tickets.
