From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtP02-0003YY-Bx for qemu-devel@nongnu.org; Mon, 13 Apr 2009 12:27:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtP01-0003YM-Rc for qemu-devel@nongnu.org; Mon, 13 Apr 2009 12:27:10 -0400 Received: from [199.232.76.173] (port=51110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtP01-0003YF-ML for qemu-devel@nongnu.org; Mon, 13 Apr 2009 12:27:09 -0400 Received: from savannah.gnu.org ([199.232.41.3]:58242 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LtP01-0006o3-EL for qemu-devel@nongnu.org; Mon, 13 Apr 2009 12:27:09 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LtP00-0008NQ-O4 for qemu-devel@nongnu.org; Mon, 13 Apr 2009 16:27:08 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LtP00-0008NK-DO for qemu-devel@nongnu.org; Mon, 13 Apr 2009 16:27:08 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Mon, 13 Apr 2009 16:27:08 +0000 Subject: [Qemu-devel] [7102] Fix OpenSolaris softfloat warnings Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 7102 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7102 Author: blueswir1 Date: 2009-04-13 16:27:08 +0000 (Mon, 13 Apr 2009) Log Message: ----------- Fix OpenSolaris softfloat warnings Modified Paths: -------------- trunk/configure trunk/fpu/softfloat-native.c trunk/fpu/softfloat-native.h Modified: trunk/configure =================================================================== --- trunk/configure 2009-04-13 16:23:22 UTC (rev 7101) +++ trunk/configure 2009-04-13 16:27:08 UTC (rev 7102) @@ -306,6 +306,7 @@ audio_drv_list="oss" fi audio_possible_drivers="oss sdl" + OS_CFLAGS=-std=gnu99 ;; AIX) aix="yes" Modified: trunk/fpu/softfloat-native.c =================================================================== --- trunk/fpu/softfloat-native.c 2009-04-13 16:23:22 UTC (rev 7101) +++ trunk/fpu/softfloat-native.c 2009-04-13 16:27:08 UTC (rev 7102) @@ -2,6 +2,9 @@ context is supported */ #include "softfloat.h" #include +#if defined(HOST_SOLARIS) +#include +#endif void set_float_rounding_mode(int val STATUS_PARAM) { Modified: trunk/fpu/softfloat-native.h =================================================================== --- trunk/fpu/softfloat-native.h 2009-04-13 16:23:22 UTC (rev 7101) +++ trunk/fpu/softfloat-native.h 2009-04-13 16:27:08 UTC (rev 7102) @@ -20,7 +20,7 @@ * are defined in with a compiler directive */ #if defined(HOST_SOLARIS) && (( HOST_SOLARIS <= 9 ) || ((HOST_SOLARIS >= 10) \ - && (__GNUC__ <= 4))) \ + && (__GNUC__ < 4))) \ || (defined(__OpenBSD__) && (OpenBSD < 200811)) /* * C99 7.12.3 classification macros