This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap broken on darwin / fink
- From: Peter O'Gorman <peter at pogma dot com>
- To: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 01 Jun 2009 08:18:05 -0500
- Subject: Re: Bootstrap broken on darwin / fink
- References: <4A23A87C.6080609@physik.uni-muenchen.de>
Tobias Schlüter wrote:
> cc1: warnings being treated as errors
> ../../gcc/pretty-print.c: In function 'identifier_to_locale':
> ../../gcc/pretty-print.c:1016: error: passing argument 2 of 'libiconv'
> from incompatible pointer type
> /sw/include/iconv.h:83: note: expected 'char **' but argument is of type
> 'const char **'
This would probably have been more appropriate on a fink related mailing
list.
As Joseph pointed out, configure is finding a different iconv.h than the
compiler, and they provide different prototypes for iconv(). I suggest
looking at Jack Howarth's gcc package in fink to see what he's doing
with this.
Peter
--
Peter O'Gorman
http://pogma.com