From: Sriram Natarajan Date: Wed, 16 Dec 2009 20:49:08 +0000 (+0000) Subject: - Fixed bug #50496 (Use of is valid only in a c99 compilation environment.) X-Git-Tag: php-5.3.2RC1~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cbc6619fe3b2b0bd3f38c7bb6e53306487f431e0;p=php - Fixed bug #50496 (Use of is valid only in a c99 compilation environment.) --- diff --git a/NEWS b/NEWS index 3554e964a3..041eee1fdb 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,8 @@ PHP NEWS - Changed "post_max_size" php.ini directive to allow unlimited post size by setting it to 0. (Rasmus) +- Fixed bug #50496 (Use of is valid only in a c99 compilation + environment. (Sriram) - Added support for SHA-256 and SHA-512 to php's crypt. (Pierre) - Added realpath_cache_size() and realpath_cache_get() functions. (Stas) - Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. (Ilia) diff --git a/configure.in b/configure.in index 09d3d1705a..2aa4ffdcc2 100644 --- a/configure.in +++ b/configure.in @@ -202,7 +202,12 @@ case $host_cpu in ;; sparc*) if test "$SUNCC" = "yes"; then - CFLAGS="$CFLAGS -xmemalign=8s" + CFLAGS="$CFLAGS -xc99=all -xmemalign=8s" + fi + ;; + i386) + if test "$SUNCC" = "yes"; then + CFLAGS="$CFLAGS -xc99=all" fi ;; esac