stdint.h included on platform where HAVE_STDINT_H is not set
| Bug #62829 | stdint.h included on platform where HAVE_STDINT_H is not set | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2012-08-15 16:06 UTC | Modified: | 2012-08-17 00:24 UTC |
|
||||||||||
| From: | philipm at sybase dot com | Assigned: | rasmus (profile) | |||||||||||
| Status: | Closed | Package: | Compile Failure | |||||||||||
| PHP Version: | 5.4.5 | OS: | Solaris 9 | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2012-08-15 16:06 UTC] philipm at sybase dot com
Description: ------------ Configuring on Solaris 9 results in HAVE_STDINT_H undefined in main/php_config.h. Nevertheless, there is an include error when running make. Surrounding the offending line with #if HAVE_STDINT_H is sufficient to resolve the compile error. This started in PHP 5.4.0 and is still an issue in 5.4.5. /bin/bash /usr/local/php/php-5.4.1/libtool --silent --preserve-dup-deps -- mode=compile cc -Isapi/cli/ -I/usr/local/php/php-5.4.1/sapi/cli/ -DPHP_ATOM_INC -I/usr/local/php/php-5.4.1/include -I/usr/local/php/php-5.4.1/main - I/usr/local/php/php-5.4.1 -I/usr/local/php/php-5.4.1/ext/date/lib - I/usr/local/php/php-5.4.1/ext/ereg/regex -I/usr/local/php/php-5.4.1/TSRM - I/usr/local/php/php-5.4.1/Zend -D_POSIX_PTHREAD_SEMANTICS -m64 -xmemalign=8s -c /usr/local/php/php-5.4.1/sapi/cli/php_http_parser.c -o sapi/cli/php_http_parser.lo "/usr/local/php/php-5.4.1/sapi/cli/php_http_parser.h", line 35: cannot find include file: <stdint.h> cc: acomp failed for /usr/local/php/php-5.4.1/sapi/cli/php_http_parser.c make: *** [sapi/cli/php_http_parser.lo] Error 1 Test script: --------------- ./configure make Expected result: ---------------- If HAVE_STDINT_H is not set, then stdint.h should not be included.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2012-08-17 00:00 UTC] Gillingham at bikezen dot net
[2012-08-17 00:24 UTC] rasmus@php.net
[2012-08-17 00:24 UTC] rasmus@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rasmus