[PATCH] Fix phony iconv build

Tom Tromey tom@tromey.com
Mon Oct 17 16:00:00 GMT 2016


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> This is a regression caused by commit cda6c55bd399 (Turn wchar
Pedro> iterator into a class).  The problem is that iconv_t is now exposed in
Pedro> charset.h, while before it was only used in charset.c.  gdb/charset.c,
Pedro> under #ifdef PHONY_ICONV, does:

I'm sorry about that.

Pedro> So it seems the simplest is to use 'int' in the header file too.
Pedro> Tromey, WDYT?

Looks good, thanks.

Tom



More information about the Gdb-patches mailing list