From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17776 invoked by alias); 13 Nov 2012 00:21:18 -0000 Received: (qmail 17725 invoked by uid 48); 13 Nov 2012 00:21:04 -0000 From: "ebotcazou 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:21: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: ebotcazou 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/msg01088.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293 --- Comment #9 from Eric Botcazou 2012-11-13 00:21:03 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? Yup, that's a well-known scenario on Solaris, there is a dozen of PRs about this in the database I think.