PHP 4.0 Bug #3397: bad list of include-dirs

From: Date: Thu, 03 Feb 2000 21:43:09 +0000
Subject: PHP 4.0 Bug #3397: bad list of include-dirs
Groups: php.dev 
Request: Send a blank email to php-dev+get-15178@lists.php.net to get a copy of this message
From: jb@tbc.sub.de Operating system: Linux libc5 gcc2.8.1 PHP version: 4.0 Beta 3 PHP Bug Type: Compile Failure Bug description: bad list of include-dirs compilation of pcre.c fails with error "INT_MAX not declared". this occures because of additional flag -I/usr/include. removing this, it compiles. it happens, because libc5-limits.h checks for gcc-internal includes and tries to load it with #include_next. with normal definitions, this is the gcc-dir, but here it is another dir and the next included limits.h is linux/limits.h and then the posix-ones. maybe solution is simple: never add -I/usr/include to list, if gcc is used, which knows best, which standard-dirs to use in which order. jb

« previous php.dev (#15178) next »