This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[Build failure] chartset.c build failure: iconv 2nd argument type problem
- From: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- To: <gdb-patches at sourceware dot org>
- Cc: <tromey at redhat dot com>
- Date: Mon, 23 Mar 2009 16:38:30 +0100
- Subject: [Build failure] chartset.c build failure: iconv 2nd argument type problem
Following a commit from:
Changes by: tromey@sourceware.org 2009-03-20 23:04:41
On cygwin, the current iconv function has a (const char **)
type for the second argument, whereas other implementations
seem to be using (char **) type.
This leads to a build error for the current sources.
I don't really know how to fix this issue:
1) Remove -Werror for charset.o target.
2) Enhance configure test for iconv so that it does
find out the exact type of that second argument
a set a ICONV_INBUF_TYPE macro for that type.
Tom, could you please take a look at this?
Pierre Muller
Pascal language support maintainer for GDB