iconv function breaks build on HPUX

From: Date: Tue, 09 Jan 2001 04:04:00 +0000
Subject: iconv function breaks build on HPUX
Groups: php.dev 
Request: Send a blank email to php-dev+get-43504@lists.php.net to get a copy of this message
Hi Hirokawa-san, (I hope I got the order right) HPUX 10.20 has iconv, but the system header file appears to be broken somehow. Please make the iconv-related stuff in ext/standard/string.c optional and not only dependent on the HAVE_ICONV test. In file included from /tmp/sas-src/php4/ext/standard/string.c:34: /usr/include/iconv.h:58: parse error before `shl_t' /usr/include/iconv.h:58: warning: no semicolon at end of struct or union /usr/include/iconv.h:69: parse error before `}' /tmp/sas-src/php4/ext/standard/string.c: In function `php_iconv_string': /tmp/sas-src/php4/ext/standard/string.c:3033: warning: passing arg 2 of `iconv' from incompatible pointer type Thanks, - Sascha

« previous php.dev (#43504) next »