Re: fix i18n.c warning

From:

John Darrington

Subject:

Re: fix i18n.c warning

Date:

Tue, 6 Mar 2007 19:42:33 +0900

User-agent:

Mutt/1.5.9i

It seems that gettext had come accross this problem before, and
did the autoconf macro.
I've checked in a change to fix this using their macro. Let me
know if it still gives problems.
J'
On Sat, Feb 24, 2007 at 08:55:46AM -0800, Ben Pfaff wrote:
John Darrington <address@hidden> writes:
> On Thu, Feb 22, 2007 at 03:52:59PM -0800, Ben Pfaff wrote:
> The following patch fixes a warning about an incompatible pointer
> type. OK to check it in?
>
> The problem is that libc defines iconv to take char ** whereas
> libiconv defines it to take const char **. So whatever we do, there's
> going to be an warning on one platform or the other.
>
> The libc developers refuse to fix it, because it follows the mistake
> made by POSIX http://sourceware.org/bugzilla/show_bug.cgi?id=2962
How awful.
--
Ben Pfaff
address@hidden
http://benpfaff.org
_______________________________________________
pspp-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/pspp-dev
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.