[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile error in SoText2.c
On Thu Nov 9 01:23:06 2000, michael.allerhand@ed.ac.uk wrote:
>
> Compiling inventor-2.1.5-6 under RH7.0 with
> gcc 2.96-54 stopped at SoText.c after a few warnings
> and an Error 1:
> cannot convert 'const char **' to 'char **' for argument 2
> to iconv(...).
I'm using glibc-devel-2.1.3-15 and /usr/include/iconv.h declares the function
as follows:
extern size_t iconv __P ((iconv_t __cd,
__const char **__restrict __inbuf,
size_t *__restrict __inbytesleft,
char **__restrict __outbuf,
size_t *__restrict __outbytesleft));
I have gcc 2.96 (Red Hat 6.2) and don't get any warnings or errors.
Jonathan Lim _ Silicon Graphics _ Mountain View
GPS Graphics Computer Systems CA, USA