info-inventor
[Top] [All Lists]

Re: compile error in SoText2.c

To: michael.allerhand@xxxxxxxx
Subject: Re: compile error in SoText2.c
From: jlim@xxxxxxxxxxxxxxxxxxxx (Jonathan Lim)
Date: Thu, 9 Nov 2000 10:48:35 -0800 (PST)
Cc: info-inventor@xxxxxxxxxxx
In-reply-to: <3A0A6CFA.30E80F3A@xxxxxxxx> from "mike allerhand" at Nov 09, 2000 09:23:06 AM
Sender: owner-inventor@xxxxxxxxxxx
On Thu Nov  9 01:23:06 2000, michael.allerhand@xxxxxxxx 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

<Prev in Thread] Current Thread [Next in Thread>