From cbc6619fe3b2b0bd3f38c7bb6e53306487f431e0 Mon Sep 17 00:00:00 2001 From: Sriram Natarajan Date: Wed, 16 Dec 2009 20:49:08 +0000 Subject: [PATCH] - Fixed bug #50496 (Use of is valid only in a c99 compilation environment.) --- NEWS | 2 ++ configure.in | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.40.0