David Halik wrote on 2007-11-14 [1]:
I was bumping our local rpm of libiconv to 1.12 and noticed that there
is an unrecoverable compile error using Sun Studio, see below:
gmake all-am
gmake[2]: Entering directory
`/usr/local/src/rpm-packages/BUILD/libiconv-1.12/srclib'
cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl
-DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -xs
-I/usr/local/include -g -c areadlink.c
cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl
-DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -xs
-I/usr/local/include -g -c malloca.c
cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl
-DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -xs
-I/usr/local/include -g -c progname.c
cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl
-DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -xs
-I/usr/local/include -g -c -o width.o `test -f 'uniwidth/width.c' ||
echo './'`uniwidth/width.c
"./stdint.h", line 257: zero or negative subscript
cc: acomp failed for uniwidth/width.c
Thanks for the report. This is fixed in libiconv 1.13, which is available at
http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.tar.gz .
Bruno
[1] http://lists.gnu.org/archive/html/bug-gnu-libiconv/2007-11/msg00000.html