From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15522 invoked by alias); 13 Nov 2012 00:15:38 -0000 Received: (qmail 15301 invoked by uid 48); 13 Nov 2012 00:15:20 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive] Date: Tue, 13 Nov 2012 00:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.3 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg01086.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293 --- Comment #8 from Jonathan Wakely 2012-11-13 00:15:19 UTC --- pretty-print.c already does: ICONV_CONST char *inbuf = CONST_CAST (char *, ident); and ICONV_CONST should be set to 'const' by gcc/configure (using the macros from config/iconv.m4) Could configure be finding GNU libiconv, with a correct signature, so ICONV_CONST is empty, but during compilation of pretty-print.c the system iconv.h is found instead, which needs ICONV_CONST?