From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4966 invoked by alias); 23 Mar 2009 15:38:50 -0000 Received: (qmail 4956 invoked by uid 22791); 23 Mar 2009 15:38:49 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Mar 2009 15:38:42 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n2NFcNDW088912 ; Mon, 23 Mar 2009 16:38:23 +0100 (CET) Received: from mailserver.u-strasbg.fr (ms3.u-strasbg.fr [IPv6:2001:660:2402:d::12]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n2NFcMsS059045 ; Mon, 23 Mar 2009 16:38:23 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (www-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n2NFcME8000730 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Mon, 23 Mar 2009 16:38:22 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: Cc: Subject: [Build failure] chartset.c build failure: iconv 2nd argument type problem Date: Mon, 23 Mar 2009 16:04:00 -0000 Message-ID: <000f01c9abcd$6b0e8990$412b9cb0$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00492.txt.bz2 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