[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [7102] Fix OpenSolaris softfloat warnings
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [7102] Fix OpenSolaris softfloat warnings |
Date: |
Mon, 13 Apr 2009 16:27:08 +0000 |
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 <math.h>
+#if defined(HOST_SOLARIS)
+#include <fenv.h>
+#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 <iso/math_c99.h> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [7102] Fix OpenSolaris softfloat warnings,
Blue Swirl <=